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

Missing support for platform param in images.build #657

Closed
AndreaCensi opened this issue Dec 4, 2021 · 1 comment · Fixed by #659
Closed

Missing support for platform param in images.build #657

AndreaCensi opened this issue Dec 4, 2021 · 1 comment · Fixed by #659

Comments

@AndreaCensi
Copy link

The most recent versions of Docker support a platform parameter:

https://docs.docker.com/engine/api/v1.41/#operation/ImageBuild

(This can be used, for example, to build amd64 images on an arm64 machine.)

Currently this parameter is not passed:

params = {
"t": tag,
"rm": rm,
"q": quiet,
"pull": pull,
"remote": remote,
"nocache": nocache,
"forcerm": forcerm,
"dockerfile": path_dockerfile,
}

@asvetlov
Copy link
Member

asvetlov commented Dec 6, 2021

Pull request is welcome!
At least a simple test is required.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants