From 50e2413d85de79262582f2cd61c0011f3b640de2 Mon Sep 17 00:00:00 2001 From: ver4a Date: Thu, 8 Jan 2026 20:44:34 +0100 Subject: [PATCH] feat: remove unused workaround This workaround was for a bug in the buildah-build action, that action was removed from build in 2cd0f54c2033865e76654e200065494edf681b7f, so this workaround is no longer needed. --- oci-builder/Containerfile | 3 --- 1 file changed, 3 deletions(-) diff --git a/oci-builder/Containerfile b/oci-builder/Containerfile index 6b520d0..7914966 100644 --- a/oci-builder/Containerfile +++ b/oci-builder/Containerfile @@ -13,9 +13,6 @@ RUN mkdir /.config && chown 65534:65534 /.config RUN mkdir /builder /builder/.config && chown -R 65534:65534 /builder -# This works around https://github.com/redhat-actions/podman-login/pull/43, until this PR is merged at least -RUN mkdir /builder/.docker && chown -R 65534:65534 /builder/.docker - RUN find / -mindepth 1 -path /proc -prune -or -path /sys -prune -or -path /dev -prune -or -type f -perm /6000 -exec sh -c "chmod ug-s '{}' && echo \"Removed setuid/setgid bit(s) from '{}'\"" \; RUN set -eo pipefail; getcap -r / | awk '{ print $1 }' | xargs -I '{}' sh -c "setcap -r '{}' && echo \"Removed file capability bit(s) from '{}'\""