1
0
Fork 0

Simplify cleanup of cache and tmp directories
All checks were successful
/ Release oci-builder (push) Successful in 2s
/ Test oci-builder (push) Successful in 53s
/ Build oci-builder (push) Successful in 41s

This commit is contained in:
ver4a 2025-04-25 10:36:10 +02:00
parent d2649a5f21
commit 6cb2c960e2

View file

@ -22,7 +22,7 @@ RUN set -eo pipefail; getcap -r / | awk '{ print $1 }' | xargs -I '{}' sh -c "se
RUN setcap cap_setuid=ep /usr/bin/newuidmap cap_setgid=ep /usr/bin/newgidmap
RUN shopt -s dotglob && rm -rf /var/cache/* /tmp/* /var/tmp/*
RUN find /var/cache/ /tmp/ /var/tmp/ -mindepth 1 -delete
COPY entrypoint.sh /entrypoint.sh