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

Cross platform build with Kaniko #1491

Closed
mickkael opened this issue Nov 14, 2020 · 1 comment · Fixed by #1500
Closed

Cross platform build with Kaniko #1491

mickkael opened this issue Nov 14, 2020 · 1 comment · Fixed by #1500

Comments

@mickkael
Copy link
Contributor

Hi community !
I love Kaniko and use in multiple Argo workflows.

I have to build arm32 containers, and I have arm64 hosts available only.
With Docker, I am able to run
docker build -f Dockerfile_arm -t --platform linux/arm /tmp/source/

I am not sure I check the right part of the code, but it seems like Kaniko is taking the platform from the environment and doesn't allow to change.

Architecture: runtime.GOARCH,

Please confirm I have on the right lead, and I can try a Pull request to add an argument in Kaniko to specify the platform

@mickkael
Copy link
Contributor Author

#1500 close this issue

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 a pull request may close this issue.

1 participant