Update Dockerfile

This commit is contained in:
Alexandre
2024-03-17 12:32:58 +01:00
committed by GitHub
parent e286c7764e
commit 2f49a9ff9c

View File

@@ -35,8 +35,8 @@ ENV S6_CMD_WAIT_FOR_SERVICES=1 \
COPY rootfs/ /
# Uses /bin for compatibility purposes
# hadolint ignore=SC2114
RUN if [ ! -f /bin/sh ] && [ -f /usr/bin/sh ]; then if [ -d /bin ]; then cp -rn /bin/* /usr/bin/ && rm -r /bin; fi; ln -s /usr/bin /bin; fi
RUN if [ ! -f /bin/sh ] && [ -f /usr/bin/sh ]; then ln -s /usr/bin/sh /bin/sh; fi && \
if [ ! -f /bin/bash ] && [ -f /usr/bin/bash ]; then ln -s /usr/bin/bash /bin/bash; fi
# Modules
ARG MODULES="00-banner.sh 01-custom_script.sh"