tapis-project / authenticator

BSD 3-Clause "New" or "Revised" License
1 stars 3 forks source link

Support for running on Arm processors #37

Open joestubbs opened 1 year ago

joestubbs commented 1 year ago

When trying to start up a development stack on an Apple with the new Arm processors, we get an error like the following:

authenticator-ldap The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested

Since the LDAP container doesn't start, the entire stack fails, but it is possible that we would get this error for other authenticator images (and other Tapis images, for that matter) as well.

Docker supports multi-platform images, and according to the docs, building support for other platforms can be donw with buildkit without needing access to the actual hardware. See: https://docs.docker.com/build/building/multi-platform/

wesleyboar commented 3 months ago

I researched how to make a Docker build via GitHub action that works on macOS Arm:

Basically, support for macOS Arm must wait for any of these events: