mirror of
https://github.com/EpicMorg/docker-scripts.git
synced 2024-12-25 06:05:37 +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 -s /usr/local/lib/libIP2Location.so.1 /lib/libIP2Location.so.1 && \
|
||||||
ln -sf /dev/stdout /var/log/nginx/access.log && \
|
ln -sf /dev/stdout /var/log/nginx/access.log && \
|
||||||
ln -sf /dev/stderr /var/log/nginx/error.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 clean -y && \
|
||||||
apt autoclean -y && \
|
apt autoclean -y && \
|
||||||
|
@ -58,7 +58,8 @@ RUN echo 'debconf debconf/frontend select Noninteractive' | debconf-set-selectio
|
|||||||
util-linux \
|
util-linux \
|
||||||
uuid-runtime \
|
uuid-runtime \
|
||||||
wget \
|
wget \
|
||||||
zip
|
zip && \
|
||||||
|
openssl dhparam -out /etc/ssl/dhparam.pem 4096
|
||||||
|
|
||||||
##################################################################
|
##################################################################
|
||||||
# cleaninig up
|
# cleaninig up
|
||||||
|
@ -124,7 +124,7 @@ RUN apt-get update && \
|
|||||||
dav \
|
dav \
|
||||||
dav_fs \
|
dav_fs \
|
||||||
alias && \
|
alias && \
|
||||||
openssl dhparam -out /etc/apache2/dhparam.pem 4096 && \
|
ln -sf /etc/ssl/dhparam.pem /etc/apache2/dhparam.pem && \
|
||||||
php -v
|
php -v
|
||||||
|
|
||||||
##################################################################
|
##################################################################
|
||||||
|
@ -80,7 +80,7 @@ RUN apt-get update && \
|
|||||||
dav \
|
dav \
|
||||||
dav_fs \
|
dav_fs \
|
||||||
alias && \
|
alias && \
|
||||||
openssl dhparam -out /etc/apache2/dhparam.pem 4096 && \
|
ln -sf /etc/ssl/dhparam.pem /etc/apache2/dhparam.pem && \
|
||||||
php -v
|
php -v
|
||||||
|
|
||||||
##################################################################
|
##################################################################
|
||||||
|
Loading…
Reference in New Issue
Block a user