Page MenuHomeSolus

Update buildah to 1.16.4

Authored by chax on Fri, Oct 9, 1:12 AM.



Update buildah to 1.16.4


  • add: preserve ownerships and permissions on ADDed archives
    • Permissions and ownership information on the contents of archives added using the ADD instruction or "buildah add" on the command line should be preserved again.
  • chroot: fix handling of errno seccomp rules
  • chroot: create bind mount targets 0755 instead of 0700
  • ADD: only expand archives at the right time
    • Archives in directories that are copied from the build context using the ADD instruction or buildah add should no longer be extracted into the destination directory.
Test Plan

Run a few buildah commands:

  • buildah from debian:buster
  • buildah run debian-working-container apt update
  • buildah run debian-working-container apt upgrade -y
  • buildah run debian-working-container apt install curl -y
  • buildah copy debian-working-container /local/bin/
  • buildah run debian-working-container chmod +x /local/bin/
  • buildah run /local/bin/
  • buildah config --entrypoint "/local/bin/" debian-working-container
  • buildah commit debian-working-container debian-test
  • buildah images

Test image with podman:

  • podman run debian-test
  • podman run -it debian-test /bin/bash

Diff Detail

R4789 buildah
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

chax created this revision.Fri, Oct 9, 1:12 AM
chax requested review of this revision.Fri, Oct 9, 1:12 AM
JoshStrobl accepted this revision.Fri, Oct 9, 7:30 AM
JoshStrobl added a subscriber: JoshStrobl.

LGTM and thanks for curating the changelog :)

This revision is now accepted and ready to land.Fri, Oct 9, 7:30 AM
This revision was automatically updated to reflect the committed changes.