mirror of
https://github.com/EpicMorg/docker-scripts.git
synced 2024-12-24 05:35:33 +03:00
dhparam.pem moved to base image
and symlinked to target folders in child images
This commit is contained in:
parent
6c99aaa437
commit
cd191e9336
@ -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 && \
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
||||
##################################################################
|
||||
|
@ -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
|
||||
|
||||
##################################################################
|
||||
|
Loading…
Reference in New Issue
Block a user