|
@@ -3,7 +3,8 @@ FROM centos:7.6.1810
|
|
|
LABEL maintainer="tomishinets.v@sdsys.ru"
|
|
|
|
|
|
COPY nginx.repo /etc/yum.repos.d/nginx.repo
|
|
|
-COPY generate.sh \
|
|
|
+COPY err_trap \
|
|
|
+ generate.sh \
|
|
|
renewal.sh \
|
|
|
healthcheck.sh \
|
|
|
/tmp/
|
|
@@ -17,6 +18,7 @@ RUN yum install -y epel-release \
|
|
|
&& mkdir -p /var/www/html/.well-known \
|
|
|
&& mkdir -p /var/log/letsencrypt \
|
|
|
&& touch /var/log/letsencrypt/letsencrypt.log \
|
|
|
+ && chmod +x /tmp/err_trap
|
|
|
&& chmod +x /tmp/generate.sh \
|
|
|
&& chmod +x /tmp/renewal.sh \
|
|
|
&& chmod +x /tmp/healthcheck.sh \
|