mirror of
https://github.com/zabbix/zabbix-docker.git
synced 2025-08-09 08:35:05 +02:00
Fixed assets directory permissions
This commit is contained in:
@ -77,6 +77,7 @@ RUN apk add ${APK_FLAGS_DEV} --virtual build-dependencies \
|
||||
rm -f conf/zabbix.conf.php && \
|
||||
rm -rf tests && \
|
||||
./locale/make_mo.sh && \
|
||||
chown --quiet -R nginx:nginx /usr/share/zabbix && \
|
||||
apk del ${APK_FLAGS_COMMON} --purge \
|
||||
build-dependencies && \
|
||||
rm -rf /var/cache/apk/*
|
||||
|
@ -81,6 +81,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/ && \
|
||||
|
@ -105,6 +105,7 @@ RUN apt-get ${APT_FLAGS_COMMON} update && \
|
||||
dpkg-reconfigure locales && \
|
||||
find /usr/share/zabbix/locale -name '*.po' | xargs rm -f && \
|
||||
find /usr/share/zabbix/locale -name '*.sh' | xargs rm -f && \
|
||||
chown --quiet -R www-data:www-data /usr/share/zabbix && \
|
||||
DEBIAN_FRONTEND=noninteractive apt-get ${APT_FLAGS_COMMON} purge \
|
||||
gettext \
|
||||
ca-certificates \
|
||||
|
Reference in New Issue
Block a user