Remove tamper check only for ls images

This commit is contained in:
Alexandre
2022-07-20 18:40:34 +02:00
parent 654f91c344
commit 1f9f11cd4d
66 changed files with 66 additions and 198 deletions

View File

@@ -43,9 +43,7 @@ COPY rootfs/ /
# Corrects permissions for s6 v3
RUN if [ -d /etc/cont-init.d ]; then chmod -R 755 /etc/cont-init.d; fi && \
if [ -d /etc/services.d ]; then chmod -R 755 /etc/services.d; fi && \
if [ -f /entrypoint.sh ]; then chmod 755 /entrypoint.sh; fi && \
# Remove linuxserver tamper check that creates new folders at each boot
if [ -f /etc/cont-init.d/02-tamper-check ]; then rm /etc/cont-init.d/02-tamper-check; fi
if [ -f /entrypoint.sh ]; then chmod 755 /entrypoint.sh; fi
# Modules
ARG MODULES="00-banner.sh"