You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I commonly deal with images that I know were compiled for a specific architecture, but have a blank architecture in the config. This is pretty common for Cloud Native Buildpack buildpack images create via pack buildpack package.
For instance, this image has linux/amd64 compiled binaries in it:
I'd like to mutate the image config to the appropriate architecture to prevent incorrect usage. I've tried several variations of crane mutate, but the --platform flag doesn't seem to have an impact on the resulting image. For instance, this doesn't mutate the image:
I commonly deal with images that I know were compiled for a specific architecture, but have a blank architecture in the config. This is pretty common for Cloud Native Buildpack buildpack images create via
pack buildpack package
.For instance, this image has
linux/amd64
compiled binaries in it:I'd like to mutate the image config to the appropriate architecture to prevent incorrect usage. I've tried several variations of
crane mutate
, but the--platform
flag doesn't seem to have an impact on the resulting image. For instance, this doesn't mutate the image:Should
crane
support this? Or maybe there's some other way to achieve this with crane?The text was updated successfully, but these errors were encountered: