mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-12-15 20:50:01 +08:00
add set -ex
Co-authored-by: Simon L. <szaimen@e.mail.de> Signed-off-by: Zoey <zoey@z0ey.de>
This commit is contained in:
parent
a4e894092c
commit
55bc84d3f2
1 changed files with 2 additions and 1 deletions
|
|
@ -3,7 +3,8 @@ FROM redis:7.0.11-alpine
|
||||||
|
|
||||||
COPY --chmod=775 start.sh /usr/bin/start.sh
|
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
|
# Give root a random password
|
||||||
echo "root:$(openssl rand -base64 12)" | chpasswd
|
echo "root:$(openssl rand -base64 12)" | chpasswd
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue