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

Allow cross architecture docker builds with docker buildx #151

Open
kushal-ti opened this issue Jan 9, 2023 · 3 comments
Open

Allow cross architecture docker builds with docker buildx #151

kushal-ti opened this issue Jan 9, 2023 · 3 comments

Comments

@kushal-ti
Copy link

Is your feature request related to a problem? Please describe

I want to be able to build docker images with leeway that can target ARM64 cpus, without needing to switch to an ARM machine in development

Describe the behaviour you'd like

An option to specify target architecture for docker which can make use of the docker buildx extension. Leeway already allows specifying GOARCH to compile go binaries for ARM64 targets, a similar feature for docker builds would also be extremely helpful

Describe alternatives you've considered

Running the entire build on an ARM machine. I would assume that this would lead to the build automatically being created for an ARM target
However, this would require both devs and CI pipelines to switch/add a new machine to their workflows to build for ARM

@axonasif
Copy link
Member

Hi @kushal-ti, is this related with Gitpod self-hosted?

@kushal-ti
Copy link
Author

Yes, it is

@axonasif
Copy link
Member

This is not doable right now.

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

No branches or pull requests

2 participants