dockerfiles/buildah/stable (v1.28.0)
Published 2023-01-18 22:15:59 +01:00 by runejuhl
Installation
docker pull git.petardo.dk/runejuhl/dockerfiles/buildah/stable:v1.28.0sha256:482051cd636937e480585d5eaf402739793f5215a5017b0b8a3afd368177d5abImage layers
| ARG FLAVOR |
| |1 FLAVOR=stable /bin/sh -c echo -e "\n\n# Added during image build" >> /etc/dnf/dnf.conf && echo -e "minrate=100\ntimeout=60\n" >> /etc/dnf/dnf.conf |
| |1 FLAVOR=stable /bin/sh -c dnf -y makecache && dnf -y update && rpm --setcaps shadow-utils 2>/dev/null && case "${FLAVOR}" in stable) dnf -y install buildah fuse-overlayfs cpp --exclude container-selinux ;; testing) dnf -y install --enablerepo=updates-testing buildah fuse-overlayfs cpp --exclude container-selinux ;; upstream) dnf -y install 'dnf-command(copr)' --enablerepo=updates-testing && dnf -y copr enable rhcontainerbot/podman-next && dnf -y install buildah fuse-overlayfs --exclude container-selinux --enablerepo=updates-testing ;; *) printf "\\nFLAVOR argument must be set and valid, currently: '${FLAVOR}'\\n\\n" 1>&2 && exit 1 ;; esac && dnf -y clean all && rm -rf /var/cache /var/log/dnf* /var/log/yum.* |
| ADD file:8d8634aea5b9ee82cf2c39086e2fd82fbee0b14e23f86111e0577bee1cdeb424 in /etc/containers/ |
| |1 FLAVOR=stable /bin/sh -c sed -e 's|^#mount_program|mount_program|g' -e '/additionalimage.*/a "/var/lib/shared",' -e 's|^mountopt[[:space:]]*=.*$|mountopt = "nodev,fsync=0"|g' /usr/share/containers/storage.conf > /etc/containers/storage.conf && chmod 644 /etc/containers/storage.conf && chmod 644 /etc/containers/containers.conf |
| |1 FLAVOR=stable /bin/sh -c mkdir -p /var/lib/shared/overlay-images /var/lib/shared/overlay-layers /var/lib/shared/vfs-images /var/lib/shared/vfs-layers && touch /var/lib/shared/overlay-images/images.lock && touch /var/lib/shared/overlay-layers/layers.lock && touch /var/lib/shared/vfs-images/images.lock && touch /var/lib/shared/vfs-layers/layers.lock |
| |1 FLAVOR=stable /bin/sh -c useradd build && echo -e "build:1:999\nbuild:1001:64535" > /etc/subuid && echo -e "build:1:999\nbuild:1001:64535" > /etc/subgid && mkdir -p /home/build/.local/share/containers && chown -R build:build /home/build |
| VOLUME /var/lib/containers |
| VOLUME /home/build/.local/share/containers |
| ENV BUILDAH_ISOLATION=chroot |
| LABEL "org.opencontainers.image.source"="https://github.com/containers/buildah.git" |
| LABEL "org.opencontainers.image.revision"="674aa1feea876847090442e108835b6c327756c3" |
| LABEL "org.opencontainers.image.created"="2023-01-18T18:19:56+00:00" |
| LABEL "org.opencontainers.image.version"="1.28.0" |
Labels
| Key | Value |
|---|---|
| io.buildah.version | 1.28.0 |
| license | MIT |
| name | fedora |
| org.opencontainers.image.created | 2023-01-18T18:19:56+00:00 |
| org.opencontainers.image.revision | 674aa1feea876847090442e108835b6c327756c3 |
| org.opencontainers.image.source | https://github.com/containers/buildah.git |
| org.opencontainers.image.version | 1.28.0 |
| vendor | Fedora Project |
| version | 37 |
Details
Versions (2)
View all