dhparam.pem moved to base image

and symlinked to target folders in child images
This commit is contained in:
stam 2020-01-15 11:57:01 +03:00
parent 6c99aaa437
commit cd191e9336
4 changed files with 5 additions and 4 deletions

View File

@ -179,7 +179,7 @@ RUN apt-get update && \
ln -s /usr/local/lib/libIP2Location.so.1 /lib/libIP2Location.so.1 && \
ln -sf /dev/stdout /var/log/nginx/access.log && \
ln -sf /dev/stderr /var/log/nginx/error.log && \
openssl dhparam -out /etc/nginx/dhparam.pem 4096 && \
ln -sf /etc/ssl/dhparam.pem /etc/nginx/dhparam.pem && \
apt clean -y && \
apt autoclean -y && \

View File

@ -58,7 +58,8 @@ RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selectio
util-linux \
uuid-runtime \
wget \
zip
zip && \
openssl dhparam -out /etc/ssl/dhparam.pem 4096
##################################################################
# cleaninig up

View File

@ -124,7 +124,7 @@ RUN apt-get update && \
dav \
dav_fs \
alias && \
openssl dhparam -out /etc/apache2/dhparam.pem 4096 && \
ln -sf /etc/ssl/dhparam.pem /etc/apache2/dhparam.pem && \
php -v
##################################################################

View File

@ -80,7 +80,7 @@ RUN apt-get update && \
dav \
dav_fs \
alias && \
openssl dhparam -out /etc/apache2/dhparam.pem 4096 && \
ln -sf /etc/ssl/dhparam.pem /etc/apache2/dhparam.pem && \
php -v
##################################################################