diff --git a/Dockerfile b/Dockerfile index edd0159..d9a5886 100644 --- a/Dockerfile +++ b/Dockerfile @@ -68,7 +68,7 @@ WORKDIR /root RUN set -e; \ echo "Setting up prerequisites"; \ - yum makecache && yum install -yy bash; \\ + yum makecache && yum install -yy bash; \ BASH_CMD="$(command -v bash 2>/dev/null|| true)"; \ [ -x "$BASH_CMD" ] && { rm -rf "/bin/sh" || true; } && ln -sf "$BASH_CMD" "/bin/sh" || true; \ [ -n "$BASH_CMD" ] && sed -i 's|root:x:.*|root:x:0:0:root:/root:'$BASH_CMD'|g' "/etc/passwd" || true diff --git a/Dockerfile.8 b/Dockerfile.8 index 2b4b134..47c8436 100644 --- a/Dockerfile.8 +++ b/Dockerfile.8 @@ -68,7 +68,7 @@ WORKDIR /root RUN set -e; \ echo "Setting up prerequisites"; \ - yum makecache && yum install -yy bash; \\ + yum makecache && yum install -yy bash; \ BASH_CMD="$(command -v bash 2>/dev/null|| true)"; \ [ -x "$BASH_CMD" ] && { rm -rf "/bin/sh" || true; } && ln -sf "$BASH_CMD" "/bin/sh" || true; \ [ -n "$BASH_CMD" ] && sed -i 's|root:x:.*|root:x:0:0:root:/root:'$BASH_CMD'|g' "/etc/passwd" || true diff --git a/Dockerfile.9 b/Dockerfile.9 index ad9cf44..0cbb86b 100644 --- a/Dockerfile.9 +++ b/Dockerfile.9 @@ -68,7 +68,7 @@ WORKDIR /root RUN set -e; \ echo "Setting up prerequisites"; \ - yum makecache && yum install -yy bash; \\ + yum makecache && yum install -yy bash; \ BASH_CMD="$(command -v bash 2>/dev/null|| true)"; \ [ -x "$BASH_CMD" ] && { rm -rf "/bin/sh" || true; } && ln -sf "$BASH_CMD" "/bin/sh" || true; \ [ -n "$BASH_CMD" ] && sed -i 's|root:x:.*|root:x:0:0:root:/root:'$BASH_CMD'|g' "/etc/passwd" || true