Fixed assets directory permissions

This commit is contained in:
root
2019-05-29 13:57:51 +03:00
parent ecd6247c48
commit 2e448015cd
16 changed files with 15 additions and 2 deletions

View File

@ -79,6 +79,7 @@ RUN groupadd --system zabbix && \
cat /usr/share/zabbix/include/locales.inc.php | grep display | grep true | awk '{$1=$1};1' | \
cut -d"'" -f 2 | sort | \
xargs -I '{}' bash -c 'echo "{}" && localedef -c -i {} -f UTF-8 {}.UTF-8 2>/dev/null' && \
chown --quiet -R nginx:nginx /usr/share/zabbix && \
rm -f /etc/php-fpm.d/www.conf && \
mkdir -p /var/lib/php/ && \
chown --quiet -R nginx:nginx /var/lib/php/ && \