-
Notifications
You must be signed in to change notification settings - Fork 788
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
buildah bud --platform functionality missing #629
Comments
@TomSweeneyRedHat, need minor edit to issue name to add |
@pixdrift, darn tricky cut/paste tricks. TY! |
OK, tried to reset the title one more time.... |
Does anyone know what this is. Probably something like buildah bud --platform i686 and then allows you to create 32 bit containers on a a 64 bit machine? |
@rhatdan, you're example is my understanding of what --platform does, or at least is intended to do. |
I guess this would only inform the from command or buildah command to tell containers/image to pull images with that architecture. Probably would not be that difficult. WDYT @mtrmac |
Sure, c/image can be told which platform (and which OS) to use when pulling images ( I don’t know how RunC deals with cross-architecture containers, and it will make it much more noticeable that the host and container environments may differ for After implementing this, at some point the question of creating (not just consuming) multi-arch images will probably come up, i.e. something like containers/podman#713 or a related |
@vrothberg or @umohnani8 Would you like to take a look at this? |
I can start looking into it next week. But @umohnani8, feel free to tackle it before if you want to :) |
The semantics of the I think that we cannot support it 🙉 but we could add this flag (and maybe similar cases) as a nop? @rhatdan WDYT? |
SGTM |
Add the `--platform` option for Moby/Docker CLI-compat reasons. This option allows to control which platform (i.e., Windows or Linux) the image will be build on and for. Make this a nop as Buildah supports only Linux. Fixes: containers#629 Signed-off-by: Valentin Rothberg <[email protected]>
Add the `--platform` option for Moby/Docker CLI-compat reasons. This option allows to control which platform (i.e., Windows or Linux) the image will be build on and for. Make this a nop as Buildah supports only Linux. Fixes: containers#629 Signed-off-by: Valentin Rothberg <[email protected]>
Add the `--platform` option for Moby/Docker CLI-compat reasons. This option allows to control which platform (i.e., Windows or Linux) the image will be build on and for. Make this a nop as Buildah supports only Linux. Fixes: containers#629 Signed-off-by: Valentin Rothberg <[email protected]>
Add the `--platform` option for Moby/Docker CLI-compat reasons. This option allows to control which platform (i.e., Windows or Linux) the image will be build on and for. Make this a nop as Buildah supports only Linux. Fixes: #629 Signed-off-by: Valentin Rothberg <[email protected]> Closes: #1230 Approved by: rhatdan
Description
buildah bud --platform
is missing and needs to be provided. This is functionality that Docker has.#599 is the parent issue for this issue.
Output of
buildah version
:Buildah v0.16
The text was updated successfully, but these errors were encountered: