add set -ex

Co-authored-by: Simon L. <szaimen@e.mail.de>
Signed-off-by: Zoey <zoey@z0ey.de>
This commit is contained in:
Zoey 2023-05-03 17:10:47 +02:00 committed by GitHub
parent a4e894092c
commit 55bc84d3f2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -3,7 +3,8 @@ FROM redis:7.0.11-alpine
COPY --chmod=775 start.sh /usr/bin/start.sh
RUN apk add --no-cache openssl bash; \
RUN set -ex; \
apk add --no-cache openssl bash; \
\
# Give root a random password
echo "root:$(openssl rand -base64 12)" | chpasswd