From 2f49a9ff9cb3d8fc596461a9bf103a864f5daecd Mon Sep 17 00:00:00 2001 From: Alexandre <44178713+alexbelgium@users.noreply.github.com> Date: Sun, 17 Mar 2024 12:32:58 +0100 Subject: [PATCH] Update Dockerfile --- scrutiny_fa/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scrutiny_fa/Dockerfile b/scrutiny_fa/Dockerfile index b6b2c280d..ef9910baf 100644 --- a/scrutiny_fa/Dockerfile +++ b/scrutiny_fa/Dockerfile @@ -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"