devkitPro / docker

Dockerfiles for https://hub.docker.com/u/devkitpro/
GNU General Public License v3.0
58 stars 28 forks source link

Containers on M1? #22

Closed rhaleblian closed 2 years ago

rhaleblian commented 2 years ago

Hello hello, long time.

Appears that there isn't a linux/arm64/v8 image on Hub, and building locally barfs when /etc/mtab isn't found...

How plausible is this goal?

WinterMute commented 2 years ago

We are currently running a donation drive to obtain M1 hardware so we can produce & test binaries on Apple Silicon. You can see progress on our website at https://devkitpro.org/

Are you specifically looking for docker images for Apple Silicon or would native binaries for that platform be preferable?

rhaleblian commented 2 years ago

Very good.

Docker images; my intent was to try containerizing a dev environment for dslibris, for the typical benefits.

I have access to other host architectures so I'm not showstopped. An arm64 flavour for running on Pi would be good, I might be able to make that one.

Under M1 I have been using the tools from the pacman repo. Didn't even think to consider whether they were native; so many things run well under Rosetta 2.

And BTW I am using these images under GitHub Workflow CI and they are quite useful.

rhaleblian commented 2 years ago

y'know, I take this back. I have plenty other architectures upon which to run containers. arm64/v8 will come when it is predestined to do so; that is, at it's appointed time.