Skip to content
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

Support multi-arch images #265

Conversation

takanakahiko
Copy link

@takanakahiko takanakahiko commented Feb 28, 2022

fix #232

Intent of this PR

It has been reported that some components that come with gcloud do not work properly, but this problem is not related to Image, but to the compatibility between the user's machine and the component, so it should be addressed in the component repository. I don't think it needs to be addressed in this repository.
Also, at the moment, when using the M1 Mac, the container hangs because the linux/amd64 emulation does not work properly. Therefore, I'd be more than happy to support the use of just some of the components, compared to the current situation.

Since there is no M1 Mac support at this time, I feel that it would be fine to release mulch-arch support with documentation that support is not complete.

We hope that this PR will be a good opportunity for you to be proactive in supporting multi-arch.
If you have any problems, please feel free to close this PR.
I would be happy if you think this work will be useful in the future.

Note

The following links may be helpful.

I have confirmed that I can build and push the image without any problems.
Example: docker buildx build --platform linux/arm64 -t takanakahiko/test --push .

I'm using 'linux/amd64,linux/arm/v7,linux/arm64' as the supported architecture, but I'd like to hear from the maintainer if there is no problem.

@willfaris
Copy link
Contributor

This PR has changes that break internal tooling.

@willfaris willfaris closed this Mar 9, 2022
@takanakahiko takanakahiko deleted the multi-arch-build branch March 29, 2022 23:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support for multi-arch images
2 participants