-
-
Notifications
You must be signed in to change notification settings - Fork 208
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. |
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
![Screenshot 2023-05-28 at 08 33 00](https://private-user-images.githubusercontent.com/24539185/241497529-a274deb8-a210-4fbb-839f-845a66bd8c90.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjYxNzMzMDAsIm5iZiI6MTcyNjE3MzAwMCwicGF0aCI6Ii8yNDUzOTE4NS8yNDE0OTc1MjktYTI3NGRlYjgtYTIxMC00ZmJiLTgzOWYtODQ1YTY2YmQ4YzkwLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA5MTIlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwOTEyVDIwMzAwMFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTM1YTRjMzFmMTJhNzNkOTk2ZTNmZWI0NDg0ZGZmNDI3Zjk5YzUyNDUxZjk4N2I3ODRjMmRjODhmN2FiMzBjMjgmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.gL-hDlJOe77rt0O-DMYU6hjUZ8y38AVK6VOK9dZwKQE)
The text was updated successfully, but these errors were encountered: