Updated Alpine images

This commit is contained in:
Alexey Pustovalov
2020-04-25 22:01:11 +03:00
parent 4c277961c7
commit f2644247bd
14 changed files with 163 additions and 122 deletions

View File

@ -41,6 +41,7 @@ RUN set -eux && \
php7-xmlreader \
php7-xmlwriter \
supervisor && \
rm -rf /etc/php7/php-fpm.d/www.conf && \
rm -f /etc/nginx/conf.d/*.conf && \
rm -rf /var/cache/apk/*
@ -77,11 +78,14 @@ RUN set -eux && \
chown --quiet -R zabbix:root /etc/nginx/ /etc/php7/ && \
chgrp -R 0 /etc/nginx/ /etc/php7/ && \
chmod -R g=u /etc/nginx/ /etc/php7/ && \
chown --quiet -R zabbix:root /var/log/nginx/ /var/lib/nginx/ && \
chgrp -R 0 /var/log/nginx/ /var/lib/nginx/ && \
chmod -R g=u /var/log/nginx/ /var/lib/nginx/ && \
apk del --purge --no-network \
build-dependencies && \
rm -rf /var/cache/apk/*
EXPOSE 80/TCP 443/TCP
EXPOSE 8080/TCP 8443/TCP
WORKDIR /usr/share/zabbix