mirror of
https://github.com/nextcloud/all-in-one.git
synced 2025-01-08 22:57:55 +08:00
nextcloud: remove chpasswd
Signed-off-by: Simon L. <szaimen@e.mail.de>
This commit is contained in:
parent
2f4acc52ad
commit
1632e14380
1 changed files with 1 additions and 4 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue