A tool that facilitates building OCI container images.
This project is maintained by the containers organization.
Subscribe to the blog feed.
We’re pleased to announce the release of Buildah version 1.41.0, which is now available from GitHub for any Linux distro. We are shipping this release on Fedora 41 and Fedora 42. Buildah will also be shipped on CentOS, OpenSUSE, and Ubuntu soon. In addition, container images will be available at https://quay.io/repository/buildah/stable and https://quay.io/repository/containers/buildah.
The Buildah project has continued to grow over the past several weeks, welcoming several new contributors to the mix. This release features notable changes:
--inherit-annotations
, --source-date-epoch
, --rewrite-timestamp
, and --unsetannotation
commands have been added to the build
command. See the build
man page for more details.--link
option on the COPY
and ADD
commands in a Containerfile now fully supports layered build caching.This release comprises changes made for v1.41.0 and will be included in Podman v5.6.
buildah build
’s “–output” option can now be specified multiple times by @nalind in #6177
buildah add
command now offers a “–timestamp” option by @nalind in #6178
buildah build --add-host
option now automatically resolves host-gateway from a string by @flouthoc in #6188
--platform
option is not invoked, Buildah now uses the default platform. When the --platform
option is used, the platform information from the base image is now used by @nalind in #6190
buildah commit
command now recognizes --source-date-epoch
and --rewrite-timestamp
options, which affect the dates recorded in the new image’s configuration and the timestamps on the contents of the new layer by @nalind in #6189
buildah build
command now recognizes the --source-date-epoch
and --rewrite-timestamp
options, which affect the dates recorded in the new image’s configuration and the timestamps on the contents of the new layers and content generated in response to the --output
flag by @nalind in #6208
buildah build
sets a fixed hostname for RUN instructions when invoked with the --timestamp
or --source-date-epoch
options.
When building or committing images with the --timestamp
or --source-date-epoch
options, the hostname, domain name, and name-of-container-which-was-committed will be set to fixed values by @nalind in #6211
*The buildah build
and buildah commit
commands no longer sets/updates the io.buildah.version
label by default when either the --timestamp
or --source-date-epoch
options are used by @nalind in #6214
--inherit-annotations
command to the build
command which allows users to specify if they want to inherit annotations from base image or not by @flouthoc in #6198
buildah build
command no longer leave traces of mount targets used for RUN instructions in built images by @nalind in #6233
--link
option on the COPY
and ADD
commands in a Containerfile now fully support layered build caching by @2004joshua in #6240
The build
command now makes sure that platform is considered correctly before using the potential image as cache candidate by @flouthoc in #6269
If you haven’t yet, install Buildah from one of the Linux repos or GitHub and give it a spin. We’re betting you’ll find it’s an easy and quick way to build containers in your environment without a daemon being involved!
For those of you who contributed to this release, thank you very much for your contributions! If you haven’t joined our community yet, don’t wait any longer! Come join us on GitHub, where Open Source communities live.