nextcloud: remove chpasswd

Signed-off-by: Simon L. <szaimen@e.mail.de>
This commit is contained in:
Simon L. 2024-11-06 15:03:17 +01:00
parent 2f4acc52ad
commit 1632e14380

View file

@ -256,10 +256,7 @@ RUN set -ex; \
\
mkdir -p /nc-updater; \
chown -R www-data:www-data /nc-updater; \
chmod -R 770 /nc-updater; \
\
# Give root a random password
echo "root:$(openssl rand -base64 12)" | chpasswd
chmod -R 770 /nc-updater
# hadolint ignore=DL3002
USER root