Is it possible that BuildKit doesn't download the base image of non-default platform? #4632
Unanswered
Shubhranshu153
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Question is with respect to nerdctl doing a check to decide the --output type. Would like to understand buildkit perspective of output type. Does the output type needs to be docker or oci when building for a non default platform?
It's possible that BuildKit doesn't download the base image of non-default platform (e.g. when the provided
// Dockerfile doesn't contain instructions require base images like RUN) even if
--output type=image,unpack=true
// is passed to BuildKit. Thus, we need to use
type=docker
ortype=oci
when nerdctl builds non-default platform// image using
platform
option.Beta Was this translation helpful? Give feedback.
All reactions