
Buildah version 1.39.0 Release Announcement
We’re pleased to announce the release of Buildah version 1.39.0, which is now available from GitHub for any Linux distro. We are shipping this release on Fedora 40 and Fedora 41. 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:
- An
--artifact-annotationoption has been added to themanifest addcommand to allow for annotation of the artifact manifest. - Cache now works when additional build context is used as the source of –mount.
- The
buildcommand has two new options, –security-opt mask and unmask. - The
buildah buildRUN instructions andbuildah runcommand can now refer to images with thefromargument when using the--mount=type=cacheoption.
This release comprises changes made for v1.39.0 and will be included in Podman v5.4.
Release Changes
Changes for v1.39.0
- executor: allow to specify –no-pivot-root by @giuseppe #5838
- The
buildah manifest addcommand now includes a--artifact-annotationflag which can be used to add an annotation to the artifact manifest which is generated and then added to the image index. by @nalind #5854 - The
buildah buildorbuildah runwith--isolation chrootwill now default to using pivot_root() internally, unless the--no-pivotCLI flag is used. by @nalind #5874 - Cache now works when additional build context is used as the source of –mount by @flouthoc #5693
- Allow cache mounts to be stages and additional build contexts by @nalind #5897
- The
buildcommand has two new options, –security-opt mask and unmask. Refer to the `build(1) man page for more information by @rhatdan #5883 - Add more checks to the –mount flag parsing logic by @nalind #5925
- Refactor: replace golang.org/x/exp with stdlib by @Juneezee #5937
- Changes were made to more thoroughly unmount images by @nalind #5924
- The
buildah buildRUN instructions andbuildah runcommand can now refer to images with thefromargument when using the--mount=type=cacheoption. by @nalind #5934 - The
buildandruncommands now record hash or digest in the image history for sources used in--mount. by @flouthoc #5691
Overall Miscellaneous Changes
- Documentation:
- Fixed a broken doc link by @cheesesashimi #5936
- Vendored:
- Vendor in github.com/containers/common to v0.62.0
- Vendor in github.com/containers/image to v5.34.0
- Vendor in github.com/containers/luksy digest to a3a812d
- Vendor in github.com/containers/ocicrypt to v1.2.1
- Vendor in github.com/containers/storage to v1.57.1
- Vendor in github.com/cyphar/filepath-securejoin to v0.3.6
- Vendor in github.com/docker/docker to v27.5.1
- Vendor in github.com/moby/buildkit to v0.19.0
- Vendor in github.com/moby/sys/capability to v0.4.8
- Vendor in github.com/opencontainers/runc to v1.2.4
- Vendor in github.com/opencontainers/runtime-tools digest to f7e3563b0271
- Vendor in github.com/stretchr/testify to v1.10.0
- Vendor in github.com/vbatts/tar-split to v0.11.7.
- Vendor in golang.org/x/crypto to v0.32.0
- Vendor in golang.org/x/exp digest to 7d7fa50e5329
- Vendor in golang.org/x/net to v0.34.0
- Tests
- Make _prefetch() parallel-safe by @edsantiago #5841
- Parallelize some bats tests by @edsantiago #5552
- copy-preserving-extended-attributes: use a different base image by @nalind #5901
- chroot mount flags integration test: copy binaries by @nalind #5926
- Changes to the build infrastructure
- CI VMs: bump again by @edsantiago #5833
- Finish updating to go 1.22 by @nalind #5835
- Makefile cleanups by @kolyshkin #5832
- Makefile: list sources via find conditionally by @danishprakash #5807
- Packit: f39 and rhel cleanups by @lsm5 #5849
- CI: remove some inter-job dependencies, run cross-compile task with make -j, use /tmp for Go build cache by @nalind #5856
- New VM Images by @Luap99 #5900
- RPM: use default gobuild macro on RHEL by @lsm5 #5938
- CI, .cirrus: parallelize containerized integration by @flouthoc #5947
- Plus a few minor fixes.
Try it Out.
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.