werf new feature: Building multi-platform container images (v1.2.232+) #5642
shurup
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Briefly
werf now supports building images for any platform and for multiple platforms out of the box.
This feature became available starting from werf v1.2.232, which is currently in the Early-Access release channel.
All you have to do is to declare a list of target platforms for all images in the configuration and run
werf build
(orwerf converge
, or any other command that uses the image build) — werf will take care of the rest. It will:Configuration
werf supports:
build.platform
directive;platform
directive in theimage
context;--platform=linux/amd64,linux/arm64,...
CLI parameter.More on configuration →
Features and limitations
werf supports:
We recommend using the Buildah backend since it has the most comprehensive backend support for all builders.
Read more on:
Beta Was this translation helpful? Give feedback.
All reactions