[wp-trac] [WordPress Trac] #52591: Update mysql image in WordPress Docker setup to work on arm architectures

WordPress Trac noreply at wordpress.org
Sun Aug 29 07:41:21 UTC 2021


#52591: Update mysql image in WordPress Docker setup to work on arm architectures
------------------------------+----------------------
 Reporter:  justinahinon      |       Owner:  netweb
     Type:  defect (bug)      |      Status:  closed
 Priority:  normal            |   Milestone:
Component:  Build/Test Tools  |     Version:
 Severity:  normal            |  Resolution:  wontfix
 Keywords:  has-patch close   |     Focuses:
------------------------------+----------------------
Changes (by netweb):

 * status:  accepted => closed
 * resolution:   => wontfix
 * milestone:  Awaiting Review =>


Comment:

 Replying to [comment:2 desrosj]:
 > ... It's likely that this will be fixed upstream, so I'm hesitant to
 make this temporary change.
 >
 > For the time being, you can easily work around this with two approaches.

 I agree, hard-coding `platform: linux/x86_64` would break the other work-
 around, as MariaDB would then try to pull in the `x86_64` version rather
 than the MAc M1 native `linux/arm64` package, the other downside is that
 `linux/x86_64` would be running through QEMU emulation and Rosetta 2, thus
 with degraded performance.

 Another issues is that https://hub.docker.com/_/mysql is maintained by the
 Docker team, and not Oracle, the Docker team have yet to publish any
 `linux/arm64` images on Docker Hub

 The Docker Hub account https://hub.docker.com/r/mysql is a fork of the
 above by the Oracle team, and it does publish `linux/arm64` images for
 MySQL v8

 Going to close this ticket as the workarounds documented should be
 sufficient and has no further unintended consequences for those who are
 not using the ARM64 platform

 Aside: Updating the docs in the `.env` file to document said workaround
 would be nice to see #goodfirstbug
 https://core.trac.wordpress.org/browser/trunk/.env

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/52591#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list