1
0
Fork 0

feat: remove unused workaround
All checks were successful
/ Test oci-builder (push) Successful in 37s
/ Release oci-builder (push) Successful in 0s
/ Build oci-builder (push) Successful in 41s

This workaround was for a bug in the buildah-build action, that action was
removed from build in 2cd0f54c20, so this
workaround is no longer needed.
This commit is contained in:
ver4a 2026-01-08 20:44:34 +01:00
parent 318cc844fb
commit 50e2413d85

View file

@ -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 '{}'\""