mirror of
https://github.com/nextcloud/all-in-one.git
synced 2026-02-14 17:50:21 +00:00
redis and apache: delete openssl after using it
Signed-off-by: Simon L. <szaimen@e.mail.de>
This commit is contained in:
parent
a803d1c098
commit
14d6579893
2 changed files with 3 additions and 1 deletions
|
|
@ -79,7 +79,8 @@ RUN set -ex; \
|
|||
chmod 777 -R /usr/local/apache2/logs; \
|
||||
rm -rf /usr/local/apache2/cgi-bin/; \
|
||||
\
|
||||
echo "root:$(openssl rand -base64 12)" | chpasswd
|
||||
echo "root:$(openssl rand -base64 12)" | chpasswd; \
|
||||
apk --no-cache del openssl
|
||||
|
||||
USER 33
|
||||
|
||||
|
|
|
|||
|
|
@ -10,6 +10,7 @@ RUN set -ex; \
|
|||
\
|
||||
# Give root a random password
|
||||
echo "root:$(openssl rand -base64 12)" | chpasswd; \
|
||||
apk --no-cache del openssl; \
|
||||
\
|
||||
# Get rid of unused binaries
|
||||
rm -f /usr/local/bin/gosu;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue