-
-
Notifications
You must be signed in to change notification settings - Fork 218
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Multi-platform/architecture docker image support #8277
Comments
@kawerewagaba Nice issue :) It's in their plan for q4 2023, so hopefully we can wait it out. actions/runner-images#2187 We build the images in CI, so I think its possible that we self-host a GH Action runner as seen from this post: https://aws.amazon.com/blogs/compute/building-arm64-applications-on-aws-graviton2-using-the-aws-cdk-and-self-hosted-runners-for-github-actions/ But our repository would need to heed this warning from the link above:
tl;dr: I don't know how soon this will happen. I'd love arm64 4.x images, but we'd want to replicate CI tests and ensure the artifact hasn't changed. I'm not of the biggest fan of building it locally and distributing the arm64 images in case any dependency changes but that is something we could consider. |
Thanks a lot for reporting @kawerewagaba While we wait for GH support, maybe we could consider a manual step in our release process to build these images for other common architectures. I'm not sure how feasible this is, but if we're going to get support out of the box through GitHub actions, I'm tempted to not over-engineer the workaround. |
Manual makes sense to me assuming it's only final releases. It should only be a few builds assuming GH sticks to their roadmap. |
Closing as fixed via medic/cht-upgrade-service#36 |
Is your feature request related to a problem? Please describe.
Setting up a local environment to build and test CHT
4.x
(and3.x
) applications. I get this warning when i rundocker compose up
:cht-upgrade-service The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested
. The containers seem to be running, but the app is broken as shown below:I also noticed a couple errors, not sure they're related to the platform issue:
Describe the solution you'd like
Images that support both
linux/amd64
andlinux/arm64/v8
platforms.Describe alternatives you've considered
Locally rebuilding the images and running the containers - for development - will see how this turns out, but seems to be a viable option. I should also point out that I'm closely following this discussion on the forum.
Additional context
Chip: Apple M2 Pro
macOS: Ventura 13.0
Docker desktop screenshot
The text was updated successfully, but these errors were encountered: