diff --git a/Containers/apache/Dockerfile b/Containers/apache/Dockerfile index 9ccadfb8..ae3a6885 100644 --- a/Containers/apache/Dockerfile +++ b/Containers/apache/Dockerfile @@ -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 diff --git a/Containers/redis/Dockerfile b/Containers/redis/Dockerfile index cc9181ad..b3dbf2cf 100644 --- a/Containers/redis/Dockerfile +++ b/Containers/redis/Dockerfile @@ -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;