mirror of
https://github.com/zabbix/zabbix-docker.git
synced 2025-03-16 15:28:47 +01:00
Merge branch 'trunk' into 5.0
This commit is contained in:
commit
edc9530392
Dockerfiles
java-gateway
web-apache-mysql
web-apache-pgsql
web-nginx-mysql
web-nginx-pgsql
zabbix-appliance/rhel
@ -58,8 +58,6 @@ EXPOSE 10052/TCP
|
|||||||
|
|
||||||
WORKDIR /var/lib/zabbix
|
WORKDIR /var/lib/zabbix
|
||||||
|
|
||||||
VOLUME ["/usr/sbin/zabbix_java/ext_lib"]
|
|
||||||
|
|
||||||
COPY ["conf/usr/sbin/zabbix_java_gateway", "/usr/sbin/"]
|
COPY ["conf/usr/sbin/zabbix_java_gateway", "/usr/sbin/"]
|
||||||
COPY ["docker-entrypoint.sh", "/usr/bin/"]
|
COPY ["docker-entrypoint.sh", "/usr/bin/"]
|
||||||
|
|
||||||
|
@ -64,8 +64,6 @@ EXPOSE 10052/TCP
|
|||||||
|
|
||||||
WORKDIR /var/lib/zabbix
|
WORKDIR /var/lib/zabbix
|
||||||
|
|
||||||
VOLUME ["/usr/sbin/zabbix_java/ext_lib"]
|
|
||||||
|
|
||||||
COPY ["conf/usr/sbin/zabbix_java_gateway", "/usr/sbin/"]
|
COPY ["conf/usr/sbin/zabbix_java_gateway", "/usr/sbin/"]
|
||||||
COPY ["docker-entrypoint.sh", "/usr/bin/"]
|
COPY ["docker-entrypoint.sh", "/usr/bin/"]
|
||||||
|
|
||||||
|
@ -63,8 +63,6 @@ EXPOSE 10052/TCP
|
|||||||
|
|
||||||
WORKDIR /var/lib/zabbix
|
WORKDIR /var/lib/zabbix
|
||||||
|
|
||||||
VOLUME ["/usr/sbin/zabbix_java/ext_lib"]
|
|
||||||
|
|
||||||
COPY ["conf/usr/sbin/zabbix_java_gateway", "/usr/sbin/"]
|
COPY ["conf/usr/sbin/zabbix_java_gateway", "/usr/sbin/"]
|
||||||
COPY ["docker-entrypoint.sh", "/usr/bin/"]
|
COPY ["docker-entrypoint.sh", "/usr/bin/"]
|
||||||
|
|
||||||
|
@ -58,8 +58,6 @@ EXPOSE 10052/TCP
|
|||||||
|
|
||||||
WORKDIR /var/lib/zabbix
|
WORKDIR /var/lib/zabbix
|
||||||
|
|
||||||
VOLUME ["/usr/sbin/zabbix_java/ext_lib"]
|
|
||||||
|
|
||||||
COPY ["conf/usr/sbin/zabbix_java_gateway", "/usr/sbin/"]
|
COPY ["conf/usr/sbin/zabbix_java_gateway", "/usr/sbin/"]
|
||||||
COPY ["docker-entrypoint.sh", "/usr/bin/"]
|
COPY ["docker-entrypoint.sh", "/usr/bin/"]
|
||||||
|
|
||||||
|
@ -80,19 +80,17 @@ RUN set -eux && \
|
|||||||
cd /usr/share/zabbix/ && \
|
cd /usr/share/zabbix/ && \
|
||||||
rm -f conf/zabbix.conf.php conf/maintenance.inc.php conf/zabbix.conf.php.example && \
|
rm -f conf/zabbix.conf.php conf/maintenance.inc.php conf/zabbix.conf.php.example && \
|
||||||
rm -rf tests && \
|
rm -rf tests && \
|
||||||
ln -s "/etc/zabbix/web/zabbix.conf.php" "/usr/share/zabbix/conf/zabbix.conf.php" && \
|
rm -f locale/add_new_language.sh locale/update_po.sh locale/make_mo.sh && \
|
||||||
ln -s "/etc/zabbix/web/maintenance.inc.php" "/usr/share/zabbix/conf/maintenance.inc.php" && \
|
|
||||||
find /usr/share/zabbix/locale -name '*.po' | xargs rm -f && \
|
find /usr/share/zabbix/locale -name '*.po' | xargs rm -f && \
|
||||||
find /usr/share/zabbix/locale -name '*.sh' | xargs rm -f && \
|
find /usr/share/zabbix/locale -name '*.sh' | xargs rm -f && \
|
||||||
|
ln -s "/etc/zabbix/web/zabbix.conf.php" "/usr/share/zabbix/conf/zabbix.conf.php" && \
|
||||||
|
ln -s "/etc/zabbix/web/maintenance.inc.php" "/usr/share/zabbix/conf/maintenance.inc.php" && \
|
||||||
chown --quiet -R zabbix:root /etc/zabbix/ /usr/share/zabbix/include/defines.inc.php /usr/share/zabbix/modules/ && \
|
chown --quiet -R zabbix:root /etc/zabbix/ /usr/share/zabbix/include/defines.inc.php /usr/share/zabbix/modules/ && \
|
||||||
chgrp -R 0 /etc/zabbix/ /usr/share/zabbix/include/defines.inc.php /usr/share/zabbix/modules/ && \
|
chgrp -R 0 /etc/zabbix/ /usr/share/zabbix/include/defines.inc.php /usr/share/zabbix/modules/ && \
|
||||||
chmod -R g=u /etc/zabbix/ /usr/share/zabbix/include/defines.inc.php /usr/share/zabbix/modules/ && \
|
chmod -R g=u /etc/zabbix/ /usr/share/zabbix/include/defines.inc.php /usr/share/zabbix/modules/ && \
|
||||||
chown --quiet -R zabbix:root /etc/apache2/ /etc/php7/ && \
|
chown --quiet -R zabbix:root /etc/apache2/ /etc/php7/ && \
|
||||||
chgrp -R 0 /etc/apache2/ /etc/php7/ && \
|
chgrp -R 0 /etc/apache2/ /etc/php7/ && \
|
||||||
chmod -R g=u /etc/apache2/ /etc/php7/ && \
|
chmod -R g=u /etc/apache2/ /etc/php7/ && \
|
||||||
chown --quiet -R zabbix:root /usr/share/zabbix/include/defines.inc.php && \
|
|
||||||
chgrp -R 0 /usr/share/zabbix/include/defines.inc.php && \
|
|
||||||
chmod -R g=u /usr/share/zabbix/include/defines.inc.php && \
|
|
||||||
rm -rf /var/cache/apk/*
|
rm -rf /var/cache/apk/*
|
||||||
|
|
||||||
EXPOSE 8080/TCP 8443/TCP
|
EXPOSE 8080/TCP 8443/TCP
|
||||||
|
@ -79,6 +79,8 @@ RUN set -eux && \
|
|||||||
rm -f conf/zabbix.conf.php conf/maintenance.inc.php conf/zabbix.conf.php.example && \
|
rm -f conf/zabbix.conf.php conf/maintenance.inc.php conf/zabbix.conf.php.example && \
|
||||||
rm -rf tests && \
|
rm -rf tests && \
|
||||||
rm -f locale/add_new_language.sh locale/update_po.sh locale/make_mo.sh && \
|
rm -f locale/add_new_language.sh locale/update_po.sh locale/make_mo.sh && \
|
||||||
|
find /usr/share/zabbix/locale -name '*.po' | xargs rm -f && \
|
||||||
|
find /usr/share/zabbix/locale -name '*.sh' | xargs rm -f && \
|
||||||
ln -s "/etc/zabbix/web/zabbix.conf.php" "/usr/share/zabbix/conf/zabbix.conf.php" && \
|
ln -s "/etc/zabbix/web/zabbix.conf.php" "/usr/share/zabbix/conf/zabbix.conf.php" && \
|
||||||
ln -s "/etc/zabbix/web/maintenance.inc.php" "/usr/share/zabbix/conf/maintenance.inc.php" && \
|
ln -s "/etc/zabbix/web/maintenance.inc.php" "/usr/share/zabbix/conf/maintenance.inc.php" && \
|
||||||
cat /usr/share/zabbix/include/locales.inc.php | grep display | grep true | awk '{$1=$1};1' | \
|
cat /usr/share/zabbix/include/locales.inc.php | grep display | grep true | awk '{$1=$1};1' | \
|
||||||
|
@ -80,6 +80,8 @@ RUN set -eux && \
|
|||||||
rm -f conf/zabbix.conf.php conf/maintenance.inc.php conf/zabbix.conf.php.example && \
|
rm -f conf/zabbix.conf.php conf/maintenance.inc.php conf/zabbix.conf.php.example && \
|
||||||
rm -rf tests && \
|
rm -rf tests && \
|
||||||
rm -f locale/add_new_language.sh locale/update_po.sh locale/make_mo.sh && \
|
rm -f locale/add_new_language.sh locale/update_po.sh locale/make_mo.sh && \
|
||||||
|
find /usr/share/zabbix/locale -name '*.po' | xargs rm -f && \
|
||||||
|
find /usr/share/zabbix/locale -name '*.sh' | xargs rm -f && \
|
||||||
ln -s "/etc/zabbix/web/zabbix.conf.php" "/usr/share/zabbix/conf/zabbix.conf.php" && \
|
ln -s "/etc/zabbix/web/zabbix.conf.php" "/usr/share/zabbix/conf/zabbix.conf.php" && \
|
||||||
ln -s "/etc/zabbix/web/maintenance.inc.php" "/usr/share/zabbix/conf/maintenance.inc.php" && \
|
ln -s "/etc/zabbix/web/maintenance.inc.php" "/usr/share/zabbix/conf/maintenance.inc.php" && \
|
||||||
cat /usr/share/zabbix/include/locales.inc.php | grep display | grep true | awk '{$1=$1};1' | \
|
cat /usr/share/zabbix/include/locales.inc.php | grep display | grep true | awk '{$1=$1};1' | \
|
||||||
|
@ -75,6 +75,9 @@ RUN set -eux && \
|
|||||||
cd /usr/share/zabbix/ && \
|
cd /usr/share/zabbix/ && \
|
||||||
rm -f conf/zabbix.conf.php conf/maintenance.inc.php conf/zabbix.conf.php.example && \
|
rm -f conf/zabbix.conf.php conf/maintenance.inc.php conf/zabbix.conf.php.example && \
|
||||||
rm -rf tests && \
|
rm -rf tests && \
|
||||||
|
rm -f locale/add_new_language.sh locale/update_po.sh locale/make_mo.sh && \
|
||||||
|
find /usr/share/zabbix/locale -name '*.po' | xargs rm -f && \
|
||||||
|
find /usr/share/zabbix/locale -name '*.sh' | xargs rm -f && \
|
||||||
ln -s "/etc/zabbix/web/zabbix.conf.php" "/usr/share/zabbix/conf/zabbix.conf.php" && \
|
ln -s "/etc/zabbix/web/zabbix.conf.php" "/usr/share/zabbix/conf/zabbix.conf.php" && \
|
||||||
ln -s "/etc/zabbix/web/maintenance.inc.php" "/usr/share/zabbix/conf/maintenance.inc.php" && \
|
ln -s "/etc/zabbix/web/maintenance.inc.php" "/usr/share/zabbix/conf/maintenance.inc.php" && \
|
||||||
mkdir -p /var/lib/locales/supported.d/ && \
|
mkdir -p /var/lib/locales/supported.d/ && \
|
||||||
@ -83,8 +86,6 @@ RUN set -eux && \
|
|||||||
cut -d"'" -f 2 | sort | \
|
cut -d"'" -f 2 | sort | \
|
||||||
xargs -I '{}' bash -c 'echo "{}.UTF-8 UTF-8" >> /var/lib/locales/supported.d/local' && \
|
xargs -I '{}' bash -c 'echo "{}.UTF-8 UTF-8" >> /var/lib/locales/supported.d/local' && \
|
||||||
dpkg-reconfigure locales && \
|
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 zabbix:root /etc/zabbix/ /usr/share/zabbix/modules/ && \
|
chown --quiet -R zabbix:root /etc/zabbix/ /usr/share/zabbix/modules/ && \
|
||||||
chgrp -R 0 /etc/zabbix/ /usr/share/zabbix/modules/ && \
|
chgrp -R 0 /etc/zabbix/ /usr/share/zabbix/modules/ && \
|
||||||
chmod -R g=u /etc/zabbix/ /usr/share/zabbix/modules/ && \
|
chmod -R g=u /etc/zabbix/ /usr/share/zabbix/modules/ && \
|
||||||
|
@ -80,6 +80,8 @@ RUN set -eux && \
|
|||||||
rm -f conf/zabbix.conf.php conf/maintenance.inc.php conf/zabbix.conf.php.example && \
|
rm -f conf/zabbix.conf.php conf/maintenance.inc.php conf/zabbix.conf.php.example && \
|
||||||
rm -rf tests && \
|
rm -rf tests && \
|
||||||
rm -f locale/add_new_language.sh locale/update_po.sh locale/make_mo.sh && \
|
rm -f locale/add_new_language.sh locale/update_po.sh locale/make_mo.sh && \
|
||||||
|
find /usr/share/zabbix/locale -name '*.po' | xargs rm -f && \
|
||||||
|
find /usr/share/zabbix/locale -name '*.sh' | xargs rm -f && \
|
||||||
ln -s "/etc/zabbix/web/zabbix.conf.php" "/usr/share/zabbix/conf/zabbix.conf.php" && \
|
ln -s "/etc/zabbix/web/zabbix.conf.php" "/usr/share/zabbix/conf/zabbix.conf.php" && \
|
||||||
ln -s "/etc/zabbix/web/maintenance.inc.php" "/usr/share/zabbix/conf/maintenance.inc.php" && \
|
ln -s "/etc/zabbix/web/maintenance.inc.php" "/usr/share/zabbix/conf/maintenance.inc.php" && \
|
||||||
chown --quiet -R zabbix:root /etc/zabbix/ /usr/share/zabbix/include/defines.inc.php /usr/share/zabbix/modules/ && \
|
chown --quiet -R zabbix:root /etc/zabbix/ /usr/share/zabbix/include/defines.inc.php /usr/share/zabbix/modules/ && \
|
||||||
@ -88,9 +90,6 @@ RUN set -eux && \
|
|||||||
chown --quiet -R zabbix:root /etc/apache2/ /etc/php7/ && \
|
chown --quiet -R zabbix:root /etc/apache2/ /etc/php7/ && \
|
||||||
chgrp -R 0 /etc/apache2/ /etc/php7/ && \
|
chgrp -R 0 /etc/apache2/ /etc/php7/ && \
|
||||||
chmod -R g=u /etc/apache2/ /etc/php7/ && \
|
chmod -R g=u /etc/apache2/ /etc/php7/ && \
|
||||||
chown --quiet -R zabbix:root /usr/share/zabbix/include/defines.inc.php && \
|
|
||||||
chgrp -R 0 /usr/share/zabbix/include/defines.inc.php && \
|
|
||||||
chmod -R g=u /usr/share/zabbix/include/defines.inc.php && \
|
|
||||||
rm -rf /var/cache/apk/*
|
rm -rf /var/cache/apk/*
|
||||||
|
|
||||||
EXPOSE 8080/TCP 8443/TCP
|
EXPOSE 8080/TCP 8443/TCP
|
||||||
|
@ -79,6 +79,8 @@ RUN set -eux && \
|
|||||||
rm -f conf/zabbix.conf.php conf/maintenance.inc.php conf/zabbix.conf.php.example && \
|
rm -f conf/zabbix.conf.php conf/maintenance.inc.php conf/zabbix.conf.php.example && \
|
||||||
rm -rf tests && \
|
rm -rf tests && \
|
||||||
rm -f locale/add_new_language.sh locale/update_po.sh locale/make_mo.sh && \
|
rm -f locale/add_new_language.sh locale/update_po.sh locale/make_mo.sh && \
|
||||||
|
find /usr/share/zabbix/locale -name '*.po' | xargs rm -f && \
|
||||||
|
find /usr/share/zabbix/locale -name '*.sh' | xargs rm -f && \
|
||||||
ln -s "/etc/zabbix/web/zabbix.conf.php" "/usr/share/zabbix/conf/zabbix.conf.php" && \
|
ln -s "/etc/zabbix/web/zabbix.conf.php" "/usr/share/zabbix/conf/zabbix.conf.php" && \
|
||||||
ln -s "/etc/zabbix/web/maintenance.inc.php" "/usr/share/zabbix/conf/maintenance.inc.php" && \
|
ln -s "/etc/zabbix/web/maintenance.inc.php" "/usr/share/zabbix/conf/maintenance.inc.php" && \
|
||||||
cat /usr/share/zabbix/include/locales.inc.php | grep display | grep true | awk '{$1=$1};1' | \
|
cat /usr/share/zabbix/include/locales.inc.php | grep display | grep true | awk '{$1=$1};1' | \
|
||||||
|
@ -79,6 +79,8 @@ RUN set -eux && \
|
|||||||
rm -f conf/zabbix.conf.php conf/maintenance.inc.php conf/zabbix.conf.php.example && \
|
rm -f conf/zabbix.conf.php conf/maintenance.inc.php conf/zabbix.conf.php.example && \
|
||||||
rm -rf tests && \
|
rm -rf tests && \
|
||||||
rm -f locale/add_new_language.sh locale/update_po.sh locale/make_mo.sh && \
|
rm -f locale/add_new_language.sh locale/update_po.sh locale/make_mo.sh && \
|
||||||
|
find /usr/share/zabbix/locale -name '*.po' | xargs rm -f && \
|
||||||
|
find /usr/share/zabbix/locale -name '*.sh' | xargs rm -f && \
|
||||||
ln -s "/etc/zabbix/web/zabbix.conf.php" "/usr/share/zabbix/conf/zabbix.conf.php" && \
|
ln -s "/etc/zabbix/web/zabbix.conf.php" "/usr/share/zabbix/conf/zabbix.conf.php" && \
|
||||||
ln -s "/etc/zabbix/web/maintenance.inc.php" "/usr/share/zabbix/conf/maintenance.inc.php" && \
|
ln -s "/etc/zabbix/web/maintenance.inc.php" "/usr/share/zabbix/conf/maintenance.inc.php" && \
|
||||||
cat /usr/share/zabbix/include/locales.inc.php | grep display | grep true | awk '{$1=$1};1' | \
|
cat /usr/share/zabbix/include/locales.inc.php | grep display | grep true | awk '{$1=$1};1' | \
|
||||||
|
@ -75,6 +75,9 @@ RUN set -eux && \
|
|||||||
cd /usr/share/zabbix/ && \
|
cd /usr/share/zabbix/ && \
|
||||||
rm -f conf/zabbix.conf.php conf/maintenance.inc.php conf/zabbix.conf.php.example && \
|
rm -f conf/zabbix.conf.php conf/maintenance.inc.php conf/zabbix.conf.php.example && \
|
||||||
rm -rf tests && \
|
rm -rf tests && \
|
||||||
|
rm -f locale/add_new_language.sh locale/update_po.sh locale/make_mo.sh && \
|
||||||
|
find /usr/share/zabbix/locale -name '*.po' | xargs rm -f && \
|
||||||
|
find /usr/share/zabbix/locale -name '*.sh' | xargs rm -f && \
|
||||||
ln -s "/etc/zabbix/web/zabbix.conf.php" "/usr/share/zabbix/conf/zabbix.conf.php" && \
|
ln -s "/etc/zabbix/web/zabbix.conf.php" "/usr/share/zabbix/conf/zabbix.conf.php" && \
|
||||||
ln -s "/etc/zabbix/web/maintenance.inc.php" "/usr/share/zabbix/conf/maintenance.inc.php" && \
|
ln -s "/etc/zabbix/web/maintenance.inc.php" "/usr/share/zabbix/conf/maintenance.inc.php" && \
|
||||||
mkdir -p /var/lib/locales/supported.d/ && \
|
mkdir -p /var/lib/locales/supported.d/ && \
|
||||||
|
@ -74,6 +74,8 @@ RUN set -eux && \
|
|||||||
rm -f conf/zabbix.conf.php conf/maintenance.inc.php conf/zabbix.conf.php.example && \
|
rm -f conf/zabbix.conf.php conf/maintenance.inc.php conf/zabbix.conf.php.example && \
|
||||||
rm -rf tests && \
|
rm -rf tests && \
|
||||||
rm -f locale/add_new_language.sh locale/update_po.sh locale/make_mo.sh && \
|
rm -f locale/add_new_language.sh locale/update_po.sh locale/make_mo.sh && \
|
||||||
|
find /usr/share/zabbix/locale -name '*.po' | xargs rm -f && \
|
||||||
|
find /usr/share/zabbix/locale -name '*.sh' | xargs rm -f && \
|
||||||
ln -s "/etc/zabbix/web/zabbix.conf.php" "/usr/share/zabbix/conf/zabbix.conf.php" && \
|
ln -s "/etc/zabbix/web/zabbix.conf.php" "/usr/share/zabbix/conf/zabbix.conf.php" && \
|
||||||
ln -s "/etc/zabbix/web/maintenance.inc.php" "/usr/share/zabbix/conf/maintenance.inc.php" && \
|
ln -s "/etc/zabbix/web/maintenance.inc.php" "/usr/share/zabbix/conf/maintenance.inc.php" && \
|
||||||
chown --quiet -R zabbix:root /etc/zabbix/ /usr/share/zabbix/include/defines.inc.php /usr/share/zabbix/modules/ && \
|
chown --quiet -R zabbix:root /etc/zabbix/ /usr/share/zabbix/include/defines.inc.php /usr/share/zabbix/modules/ && \
|
||||||
@ -85,9 +87,6 @@ RUN set -eux && \
|
|||||||
chown --quiet -R zabbix:root /var/lib/php/session/ /var/lib/nginx/ && \
|
chown --quiet -R zabbix:root /var/lib/php/session/ /var/lib/nginx/ && \
|
||||||
chgrp -R 0 /var/lib/php/session/ /var/lib/nginx/ && \
|
chgrp -R 0 /var/lib/php/session/ /var/lib/nginx/ && \
|
||||||
chmod -R g=u /var/lib/php/session/ /var/lib/nginx/ && \
|
chmod -R g=u /var/lib/php/session/ /var/lib/nginx/ && \
|
||||||
chown --quiet -R zabbix:root /usr/share/zabbix/include/defines.inc.php && \
|
|
||||||
chgrp -R 0 /usr/share/zabbix/include/defines.inc.php && \
|
|
||||||
chmod -R g=u /usr/share/zabbix/include/defines.inc.php && \
|
|
||||||
rm -rf /var/cache/apk/*
|
rm -rf /var/cache/apk/*
|
||||||
|
|
||||||
EXPOSE 8080/TCP 8443/TCP
|
EXPOSE 8080/TCP 8443/TCP
|
||||||
|
@ -74,6 +74,8 @@ RUN set -eux && \
|
|||||||
rm -f conf/zabbix.conf.php conf/maintenance.inc.php conf/zabbix.conf.php.example && \
|
rm -f conf/zabbix.conf.php conf/maintenance.inc.php conf/zabbix.conf.php.example && \
|
||||||
rm -rf tests && \
|
rm -rf tests && \
|
||||||
rm -f locale/add_new_language.sh locale/update_po.sh locale/make_mo.sh && \
|
rm -f locale/add_new_language.sh locale/update_po.sh locale/make_mo.sh && \
|
||||||
|
find /usr/share/zabbix/locale -name '*.po' | xargs rm -f && \
|
||||||
|
find /usr/share/zabbix/locale -name '*.sh' | xargs rm -f && \
|
||||||
ln -s "/etc/zabbix/web/zabbix.conf.php" "/usr/share/zabbix/conf/zabbix.conf.php" && \
|
ln -s "/etc/zabbix/web/zabbix.conf.php" "/usr/share/zabbix/conf/zabbix.conf.php" && \
|
||||||
ln -s "/etc/zabbix/web/maintenance.inc.php" "/usr/share/zabbix/conf/maintenance.inc.php" && \
|
ln -s "/etc/zabbix/web/maintenance.inc.php" "/usr/share/zabbix/conf/maintenance.inc.php" && \
|
||||||
cat /usr/share/zabbix/include/locales.inc.php | grep display | grep true | awk '{$1=$1};1' | \
|
cat /usr/share/zabbix/include/locales.inc.php | grep display | grep true | awk '{$1=$1};1' | \
|
||||||
|
@ -73,6 +73,8 @@ RUN set -eux && \
|
|||||||
rm -f conf/zabbix.conf.php conf/maintenance.inc.php conf/zabbix.conf.php.example && \
|
rm -f conf/zabbix.conf.php conf/maintenance.inc.php conf/zabbix.conf.php.example && \
|
||||||
rm -rf tests && \
|
rm -rf tests && \
|
||||||
rm -f locale/add_new_language.sh locale/update_po.sh locale/make_mo.sh && \
|
rm -f locale/add_new_language.sh locale/update_po.sh locale/make_mo.sh && \
|
||||||
|
find /usr/share/zabbix/locale -name '*.po' | xargs rm -f && \
|
||||||
|
find /usr/share/zabbix/locale -name '*.sh' | xargs rm -f && \
|
||||||
ln -s "/etc/zabbix/web/zabbix.conf.php" "/usr/share/zabbix/conf/zabbix.conf.php" && \
|
ln -s "/etc/zabbix/web/zabbix.conf.php" "/usr/share/zabbix/conf/zabbix.conf.php" && \
|
||||||
ln -s "/etc/zabbix/web/maintenance.inc.php" "/usr/share/zabbix/conf/maintenance.inc.php" && \
|
ln -s "/etc/zabbix/web/maintenance.inc.php" "/usr/share/zabbix/conf/maintenance.inc.php" && \
|
||||||
cat /usr/share/zabbix/include/locales.inc.php | grep display | grep true | awk '{$1=$1};1' | \
|
cat /usr/share/zabbix/include/locales.inc.php | grep display | grep true | awk '{$1=$1};1' | \
|
||||||
|
@ -96,6 +96,8 @@ RUN set -eux && REPOLIST="ubi-8-baseos,ubi-8-appstream,rhel-8-for-x86_64-baseos-
|
|||||||
rm -f conf/zabbix.conf.php conf/maintenance.inc.php conf/zabbix.conf.php.example && \
|
rm -f conf/zabbix.conf.php conf/maintenance.inc.php conf/zabbix.conf.php.example && \
|
||||||
rm -rf tests && \
|
rm -rf tests && \
|
||||||
rm -f locale/add_new_language.sh locale/update_po.sh locale/make_mo.sh && \
|
rm -f locale/add_new_language.sh locale/update_po.sh locale/make_mo.sh && \
|
||||||
|
find /usr/share/zabbix/locale -name '*.po' | xargs rm -f && \
|
||||||
|
find /usr/share/zabbix/locale -name '*.sh' | xargs rm -f && \
|
||||||
ln -s "/etc/zabbix/web/zabbix.conf.php" "/usr/share/zabbix/conf/zabbix.conf.php" && \
|
ln -s "/etc/zabbix/web/zabbix.conf.php" "/usr/share/zabbix/conf/zabbix.conf.php" && \
|
||||||
ln -s "/etc/zabbix/web/maintenance.inc.php" "/usr/share/zabbix/conf/maintenance.inc.php" && \
|
ln -s "/etc/zabbix/web/maintenance.inc.php" "/usr/share/zabbix/conf/maintenance.inc.php" && \
|
||||||
cat /usr/share/zabbix/include/locales.inc.php | grep display | grep true | awk '{$1=$1};1' | \
|
cat /usr/share/zabbix/include/locales.inc.php | grep display | grep true | awk '{$1=$1};1' | \
|
||||||
|
@ -88,6 +88,9 @@ RUN set -eux && \
|
|||||||
cd /usr/share/zabbix/ && \
|
cd /usr/share/zabbix/ && \
|
||||||
rm -f conf/zabbix.conf.php conf/maintenance.inc.php conf/zabbix.conf.php.example && \
|
rm -f conf/zabbix.conf.php conf/maintenance.inc.php conf/zabbix.conf.php.example && \
|
||||||
rm -rf tests && \
|
rm -rf tests && \
|
||||||
|
rm -f locale/add_new_language.sh locale/update_po.sh locale/make_mo.sh && \
|
||||||
|
find /usr/share/zabbix/locale -name '*.po' | xargs rm -f && \
|
||||||
|
find /usr/share/zabbix/locale -name '*.sh' | xargs rm -f && \
|
||||||
ln -s "/etc/zabbix/web/zabbix.conf.php" "/usr/share/zabbix/conf/zabbix.conf.php" && \
|
ln -s "/etc/zabbix/web/zabbix.conf.php" "/usr/share/zabbix/conf/zabbix.conf.php" && \
|
||||||
ln -s "/etc/zabbix/web/maintenance.inc.php" "/usr/share/zabbix/conf/maintenance.inc.php" && \
|
ln -s "/etc/zabbix/web/maintenance.inc.php" "/usr/share/zabbix/conf/maintenance.inc.php" && \
|
||||||
mkdir -p /var/lib/locales/supported.d/ && \
|
mkdir -p /var/lib/locales/supported.d/ && \
|
||||||
@ -107,9 +110,6 @@ RUN set -eux && \
|
|||||||
chown --quiet -R zabbix:root /var/lib/php/session/ && \
|
chown --quiet -R zabbix:root /var/lib/php/session/ && \
|
||||||
chgrp -R 0 /var/lib/php/session/ && \
|
chgrp -R 0 /var/lib/php/session/ && \
|
||||||
chmod -R g=u /var/lib/php/session/ && \
|
chmod -R g=u /var/lib/php/session/ && \
|
||||||
chown --quiet -R zabbix:root /usr/share/zabbix/include/defines.inc.php && \
|
|
||||||
chgrp -R 0 /usr/share/zabbix/include/defines.inc.php && \
|
|
||||||
chmod -R g=u /usr/share/zabbix/include/defines.inc.php && \
|
|
||||||
apt-get -y autoremove && \
|
apt-get -y autoremove && \
|
||||||
apt-get -y clean && \
|
apt-get -y clean && \
|
||||||
rm -rf /var/lib/apt/lists/*
|
rm -rf /var/lib/apt/lists/*
|
||||||
|
@ -73,6 +73,8 @@ RUN set -eux && \
|
|||||||
rm -f conf/zabbix.conf.php conf/maintenance.inc.php conf/zabbix.conf.php.example && \
|
rm -f conf/zabbix.conf.php conf/maintenance.inc.php conf/zabbix.conf.php.example && \
|
||||||
rm -rf tests && \
|
rm -rf tests && \
|
||||||
rm -f locale/add_new_language.sh locale/update_po.sh locale/make_mo.sh && \
|
rm -f locale/add_new_language.sh locale/update_po.sh locale/make_mo.sh && \
|
||||||
|
find /usr/share/zabbix/locale -name '*.po' | xargs rm -f && \
|
||||||
|
find /usr/share/zabbix/locale -name '*.sh' | xargs rm -f && \
|
||||||
ln -s "/etc/zabbix/web/zabbix.conf.php" "/usr/share/zabbix/conf/zabbix.conf.php" && \
|
ln -s "/etc/zabbix/web/zabbix.conf.php" "/usr/share/zabbix/conf/zabbix.conf.php" && \
|
||||||
ln -s "/etc/zabbix/web/maintenance.inc.php" "/usr/share/zabbix/conf/maintenance.inc.php" && \
|
ln -s "/etc/zabbix/web/maintenance.inc.php" "/usr/share/zabbix/conf/maintenance.inc.php" && \
|
||||||
chown --quiet -R zabbix:root /etc/zabbix/ /usr/share/zabbix/include/defines.inc.php /usr/share/zabbix/modules/ && \
|
chown --quiet -R zabbix:root /etc/zabbix/ /usr/share/zabbix/include/defines.inc.php /usr/share/zabbix/modules/ && \
|
||||||
@ -84,9 +86,6 @@ RUN set -eux && \
|
|||||||
chown --quiet -R zabbix:root /var/lib/php/session/ /var/lib/nginx/ && \
|
chown --quiet -R zabbix:root /var/lib/php/session/ /var/lib/nginx/ && \
|
||||||
chgrp -R 0 /var/lib/php/session/ /var/lib/nginx/ && \
|
chgrp -R 0 /var/lib/php/session/ /var/lib/nginx/ && \
|
||||||
chmod -R g=u /var/lib/php/session/ /var/lib/nginx/ && \
|
chmod -R g=u /var/lib/php/session/ /var/lib/nginx/ && \
|
||||||
chown --quiet -R zabbix:root /usr/share/zabbix/include/defines.inc.php && \
|
|
||||||
chgrp -R 0 /usr/share/zabbix/include/defines.inc.php && \
|
|
||||||
chmod -R g=u /usr/share/zabbix/include/defines.inc.php && \
|
|
||||||
rm -rf /var/cache/apk/*
|
rm -rf /var/cache/apk/*
|
||||||
|
|
||||||
EXPOSE 8080/TCP 8443/TCP
|
EXPOSE 8080/TCP 8443/TCP
|
||||||
|
@ -72,6 +72,8 @@ RUN set -eux && \
|
|||||||
rm -f conf/zabbix.conf.php conf/maintenance.inc.php conf/zabbix.conf.php.example && \
|
rm -f conf/zabbix.conf.php conf/maintenance.inc.php conf/zabbix.conf.php.example && \
|
||||||
rm -rf tests && \
|
rm -rf tests && \
|
||||||
rm -f locale/add_new_language.sh locale/update_po.sh locale/make_mo.sh && \
|
rm -f locale/add_new_language.sh locale/update_po.sh locale/make_mo.sh && \
|
||||||
|
find /usr/share/zabbix/locale -name '*.po' | xargs rm -f && \
|
||||||
|
find /usr/share/zabbix/locale -name '*.sh' | xargs rm -f && \
|
||||||
ln -s "/etc/zabbix/web/zabbix.conf.php" "/usr/share/zabbix/conf/zabbix.conf.php" && \
|
ln -s "/etc/zabbix/web/zabbix.conf.php" "/usr/share/zabbix/conf/zabbix.conf.php" && \
|
||||||
ln -s "/etc/zabbix/web/maintenance.inc.php" "/usr/share/zabbix/conf/maintenance.inc.php" && \
|
ln -s "/etc/zabbix/web/maintenance.inc.php" "/usr/share/zabbix/conf/maintenance.inc.php" && \
|
||||||
cat /usr/share/zabbix/include/locales.inc.php | grep display | grep true | awk '{$1=$1};1' | \
|
cat /usr/share/zabbix/include/locales.inc.php | grep display | grep true | awk '{$1=$1};1' | \
|
||||||
|
@ -72,6 +72,8 @@ RUN set -eux && \
|
|||||||
rm -f conf/zabbix.conf.php conf/maintenance.inc.php conf/zabbix.conf.php.example && \
|
rm -f conf/zabbix.conf.php conf/maintenance.inc.php conf/zabbix.conf.php.example && \
|
||||||
rm -rf tests && \
|
rm -rf tests && \
|
||||||
rm -f locale/add_new_language.sh locale/update_po.sh locale/make_mo.sh && \
|
rm -f locale/add_new_language.sh locale/update_po.sh locale/make_mo.sh && \
|
||||||
|
find /usr/share/zabbix/locale -name '*.po' | xargs rm -f && \
|
||||||
|
find /usr/share/zabbix/locale -name '*.sh' | xargs rm -f && \
|
||||||
ln -s "/etc/zabbix/web/zabbix.conf.php" "/usr/share/zabbix/conf/zabbix.conf.php" && \
|
ln -s "/etc/zabbix/web/zabbix.conf.php" "/usr/share/zabbix/conf/zabbix.conf.php" && \
|
||||||
ln -s "/etc/zabbix/web/maintenance.inc.php" "/usr/share/zabbix/conf/maintenance.inc.php" && \
|
ln -s "/etc/zabbix/web/maintenance.inc.php" "/usr/share/zabbix/conf/maintenance.inc.php" && \
|
||||||
cat /usr/share/zabbix/include/locales.inc.php | grep display | grep true | awk '{$1=$1};1' | \
|
cat /usr/share/zabbix/include/locales.inc.php | grep display | grep true | awk '{$1=$1};1' | \
|
||||||
|
@ -88,6 +88,9 @@ RUN set -eux && \
|
|||||||
cd /usr/share/zabbix/ && \
|
cd /usr/share/zabbix/ && \
|
||||||
rm -f conf/zabbix.conf.php conf/maintenance.inc.php conf/zabbix.conf.php.example && \
|
rm -f conf/zabbix.conf.php conf/maintenance.inc.php conf/zabbix.conf.php.example && \
|
||||||
rm -rf tests && \
|
rm -rf tests && \
|
||||||
|
rm -f locale/add_new_language.sh locale/update_po.sh locale/make_mo.sh && \
|
||||||
|
find /usr/share/zabbix/locale -name '*.po' | xargs rm -f && \
|
||||||
|
find /usr/share/zabbix/locale -name '*.sh' | xargs rm -f && \
|
||||||
ln -s "/etc/zabbix/web/zabbix.conf.php" "/usr/share/zabbix/conf/zabbix.conf.php" && \
|
ln -s "/etc/zabbix/web/zabbix.conf.php" "/usr/share/zabbix/conf/zabbix.conf.php" && \
|
||||||
ln -s "/etc/zabbix/web/maintenance.inc.php" "/usr/share/zabbix/conf/maintenance.inc.php" && \
|
ln -s "/etc/zabbix/web/maintenance.inc.php" "/usr/share/zabbix/conf/maintenance.inc.php" && \
|
||||||
mkdir -p /var/lib/locales/supported.d/ && \
|
mkdir -p /var/lib/locales/supported.d/ && \
|
||||||
@ -96,8 +99,6 @@ RUN set -eux && \
|
|||||||
cut -d"'" -f 2 | sort | \
|
cut -d"'" -f 2 | sort | \
|
||||||
xargs -I '{}' bash -c 'echo "{}.UTF-8 UTF-8" >> /var/lib/locales/supported.d/local' && \
|
xargs -I '{}' bash -c 'echo "{}.UTF-8 UTF-8" >> /var/lib/locales/supported.d/local' && \
|
||||||
dpkg-reconfigure locales && \
|
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 zabbix:root /etc/zabbix/ /usr/share/zabbix/include/defines.inc.php /usr/share/zabbix/modules/ && \
|
chown --quiet -R zabbix:root /etc/zabbix/ /usr/share/zabbix/include/defines.inc.php /usr/share/zabbix/modules/ && \
|
||||||
chgrp -R 0 /etc/zabbix/ /usr/share/zabbix/include/defines.inc.php /usr/share/zabbix/modules/ && \
|
chgrp -R 0 /etc/zabbix/ /usr/share/zabbix/include/defines.inc.php /usr/share/zabbix/modules/ && \
|
||||||
chmod -R g=u /etc/zabbix/ /usr/share/zabbix/include/defines.inc.php /usr/share/zabbix/modules/ && \
|
chmod -R g=u /etc/zabbix/ /usr/share/zabbix/include/defines.inc.php /usr/share/zabbix/modules/ && \
|
||||||
@ -107,9 +108,6 @@ RUN set -eux && \
|
|||||||
chown --quiet -R zabbix:root /var/lib/php/session/ && \
|
chown --quiet -R zabbix:root /var/lib/php/session/ && \
|
||||||
chgrp -R 0 /var/lib/php/session/ && \
|
chgrp -R 0 /var/lib/php/session/ && \
|
||||||
chmod -R g=u /var/lib/php/session/ && \
|
chmod -R g=u /var/lib/php/session/ && \
|
||||||
chown --quiet -R zabbix:root /usr/share/zabbix/include/defines.inc.php && \
|
|
||||||
chgrp -R 0 /usr/share/zabbix/include/defines.inc.php && \
|
|
||||||
chmod -R g=u /usr/share/zabbix/include/defines.inc.php && \
|
|
||||||
apt-get -y autoremove && \
|
apt-get -y autoremove && \
|
||||||
apt-get -y clean && \
|
apt-get -y clean && \
|
||||||
rm -rf /var/lib/apt/lists/*
|
rm -rf /var/lib/apt/lists/*
|
||||||
|
@ -181,6 +181,8 @@ RUN set -eux && REPOLIST="rhel-8-for-x86_64-baseos-rpms,rhel-8-for-x86_64-appstr
|
|||||||
rm -f conf/zabbix.conf.php conf/maintenance.inc.php conf/zabbix.conf.php.example && \
|
rm -f conf/zabbix.conf.php conf/maintenance.inc.php conf/zabbix.conf.php.example && \
|
||||||
rm -rf tests && \
|
rm -rf tests && \
|
||||||
rm -f locale/add_new_language.sh locale/update_po.sh locale/make_mo.sh && \
|
rm -f locale/add_new_language.sh locale/update_po.sh locale/make_mo.sh && \
|
||||||
|
find /usr/share/zabbix/locale -name '*.po' | xargs rm -f && \
|
||||||
|
find /usr/share/zabbix/locale -name '*.sh' | xargs rm -f && \
|
||||||
ln -s "/etc/zabbix/web/zabbix.conf.php" "/usr/share/zabbix/conf/zabbix.conf.php" && \
|
ln -s "/etc/zabbix/web/zabbix.conf.php" "/usr/share/zabbix/conf/zabbix.conf.php" && \
|
||||||
ln -s "/etc/zabbix/web/maintenance.inc.php" "/usr/share/zabbix/conf/maintenance.inc.php" && \
|
ln -s "/etc/zabbix/web/maintenance.inc.php" "/usr/share/zabbix/conf/maintenance.inc.php" && \
|
||||||
cat /usr/share/zabbix/include/locales.inc.php | grep display | grep true | awk '{$1=$1};1' | \
|
cat /usr/share/zabbix/include/locales.inc.php | grep display | grep true | awk '{$1=$1};1' | \
|
||||||
|
Loading…
Reference in New Issue
Block a user