mirror of
https://github.com/zabbix/zabbix-docker.git
synced 2025-08-17 03:51:00 +02:00
Updated CentOS images
This commit is contained in:
@ -19,6 +19,7 @@ RUN set -eux && \
|
|||||||
zabbix && \
|
zabbix && \
|
||||||
mkdir -p /etc/zabbix && \
|
mkdir -p /etc/zabbix && \
|
||||||
mkdir -p /etc/zabbix/web && \
|
mkdir -p /etc/zabbix/web && \
|
||||||
|
mkdir -p /var/lib/php/session && \
|
||||||
apk add --clean-protected --no-cache \
|
apk add --clean-protected --no-cache \
|
||||||
bash \
|
bash \
|
||||||
curl \
|
curl \
|
||||||
@ -75,12 +76,12 @@ RUN set -eux && \
|
|||||||
chown --quiet -R zabbix:root /etc/zabbix/ /usr/share/zabbix/conf/ && \
|
chown --quiet -R zabbix:root /etc/zabbix/ /usr/share/zabbix/conf/ && \
|
||||||
chgrp -R 0 /etc/zabbix/ /usr/share/zabbix/conf/ && \
|
chgrp -R 0 /etc/zabbix/ /usr/share/zabbix/conf/ && \
|
||||||
chmod -R g=u /etc/zabbix/ /usr/share/zabbix/conf/ && \
|
chmod -R g=u /etc/zabbix/ /usr/share/zabbix/conf/ && \
|
||||||
chown --quiet -R zabbix:root /etc/nginx/ /etc/php7/ && \
|
chown --quiet -R zabbix:root /etc/nginx/ /etc/php7/php-fpm.d/ /etc/php7/php-fpm.conf && \
|
||||||
chgrp -R 0 /etc/nginx/ /etc/php7/ && \
|
chgrp -R 0 /etc/nginx/ /etc/php7/php-fpm.d/ /etc/php7/php-fpm.conf && \
|
||||||
chmod -R g=u /etc/nginx/ /etc/php7/ && \
|
chmod -R g=u /etc/nginx/ /etc/php7/php-fpm.d/ /etc/php7/php-fpm.conf && \
|
||||||
chown --quiet -R zabbix:root /var/log/nginx/ /var/lib/nginx/ && \
|
chown --quiet -R zabbix:root /var/lib/php/session/ && \
|
||||||
chgrp -R 0 /var/log/nginx/ /var/lib/nginx/ && \
|
chgrp -R 0 /var/lib/php/session/ && \
|
||||||
chmod -R g=u /var/log/nginx/ /var/lib/nginx/ && \
|
chmod -R g=u /var/lib/php/session/ && \
|
||||||
apk del --purge --no-network \
|
apk del --purge --no-network \
|
||||||
build-dependencies && \
|
build-dependencies && \
|
||||||
rm -rf /var/cache/apk/*
|
rm -rf /var/cache/apk/*
|
||||||
|
@ -21,6 +21,13 @@ http {
|
|||||||
'"$http_user_agent" "$http_x_forwarded_for"';
|
'"$http_user_agent" "$http_x_forwarded_for"';
|
||||||
|
|
||||||
access_log /dev/fd/1 main;
|
access_log /dev/fd/1 main;
|
||||||
|
error_log /dev/fd/2 warn;
|
||||||
|
|
||||||
|
client_body_temp_path /tmp 1 2;
|
||||||
|
proxy_temp_path /tmp 1 2;
|
||||||
|
fastcgi_temp_path /tmp 1 2;
|
||||||
|
uwsgi_temp_path /tmp 1 2;
|
||||||
|
scgi_temp_path /tmp 1 2;
|
||||||
|
|
||||||
client_body_timeout 5m;
|
client_body_timeout 5m;
|
||||||
send_timeout 5m;
|
send_timeout 5m;
|
||||||
|
@ -17,6 +17,7 @@ RUN set -eux && \
|
|||||||
zabbix && \
|
zabbix && \
|
||||||
mkdir -p /etc/zabbix && \
|
mkdir -p /etc/zabbix && \
|
||||||
mkdir -p /etc/zabbix/web && \
|
mkdir -p /etc/zabbix/web && \
|
||||||
|
mkdir -p /var/lib/php/session && \
|
||||||
yum --quiet makecache && \
|
yum --quiet makecache && \
|
||||||
yum -y install epel-release && \
|
yum -y install epel-release && \
|
||||||
yum -y install --setopt=tsflags=nodocs \
|
yum -y install --setopt=tsflags=nodocs \
|
||||||
@ -70,9 +71,12 @@ RUN set -eux && \
|
|||||||
chown --quiet -R zabbix:root /etc/zabbix/ /usr/share/zabbix/conf/ && \
|
chown --quiet -R zabbix:root /etc/zabbix/ /usr/share/zabbix/conf/ && \
|
||||||
chgrp -R 0 /etc/zabbix/ /usr/share/zabbix/conf/ && \
|
chgrp -R 0 /etc/zabbix/ /usr/share/zabbix/conf/ && \
|
||||||
chmod -R g=u /etc/zabbix/ /usr/share/zabbix/conf/ && \
|
chmod -R g=u /etc/zabbix/ /usr/share/zabbix/conf/ && \
|
||||||
chown --quiet -R zabbix:root /etc/nginx/ /etc/php.d/ /etc/php.ini && \
|
chown --quiet -R zabbix:root /etc/nginx/ /etc/php-fpm.d/ /etc/php-fpm.conf && \
|
||||||
chgrp -R 0 /etc/nginx/ /etc/php.d/ /etc/php.ini && \
|
chgrp -R 0 /etc/nginx/ /etc/php-fpm.d/ /etc/php-fpm.conf && \
|
||||||
chmod -R g=u /etc/nginx/ /etc/php.d/ /etc/php.ini && \
|
chmod -R g=u /etc/nginx/ /etc/php-fpm.d/ /etc/php-fpm.conf && \
|
||||||
|
chown --quiet -R zabbix:root /var/lib/php/session/ && \
|
||||||
|
chgrp -R 0 /var/lib/php/session/ && \
|
||||||
|
chmod -R g=u /var/lib/php/session/ && \
|
||||||
yum -y history undo `yum -q history | sed -n 3p |column -t | cut -d' ' -f1` && \
|
yum -y history undo `yum -q history | sed -n 3p |column -t | cut -d' ' -f1` && \
|
||||||
yum -y clean all && \
|
yum -y clean all && \
|
||||||
rm -rf /var/cache/yum /var/lib/yum/yumdb/* /usr/lib/udev/hwdb.d/* && \
|
rm -rf /var/cache/yum /var/lib/yum/yumdb/* /usr/lib/udev/hwdb.d/* && \
|
||||||
|
@ -21,6 +21,13 @@ http {
|
|||||||
'"$http_user_agent" "$http_x_forwarded_for"';
|
'"$http_user_agent" "$http_x_forwarded_for"';
|
||||||
|
|
||||||
access_log /dev/fd/1 main;
|
access_log /dev/fd/1 main;
|
||||||
|
error_log /dev/fd/2 warn;
|
||||||
|
|
||||||
|
client_body_temp_path /tmp 1 2;
|
||||||
|
proxy_temp_path /tmp 1 2;
|
||||||
|
fastcgi_temp_path /tmp 1 2;
|
||||||
|
uwsgi_temp_path /tmp 1 2;
|
||||||
|
scgi_temp_path /tmp 1 2;
|
||||||
|
|
||||||
client_body_timeout 5m;
|
client_body_timeout 5m;
|
||||||
send_timeout 5m;
|
send_timeout 5m;
|
||||||
|
@ -19,6 +19,7 @@ RUN set -eux && \
|
|||||||
zabbix && \
|
zabbix && \
|
||||||
mkdir -p /etc/zabbix && \
|
mkdir -p /etc/zabbix && \
|
||||||
mkdir -p /etc/zabbix/web && \
|
mkdir -p /etc/zabbix/web && \
|
||||||
|
mkdir -p /var/lib/php/session && \
|
||||||
apk add --clean-protected --no-cache \
|
apk add --clean-protected --no-cache \
|
||||||
bash \
|
bash \
|
||||||
curl \
|
curl \
|
||||||
@ -74,12 +75,12 @@ RUN set -eux && \
|
|||||||
chown --quiet -R zabbix:root /etc/zabbix/ /usr/share/zabbix/conf/ && \
|
chown --quiet -R zabbix:root /etc/zabbix/ /usr/share/zabbix/conf/ && \
|
||||||
chgrp -R 0 /etc/zabbix/ /usr/share/zabbix/conf/ && \
|
chgrp -R 0 /etc/zabbix/ /usr/share/zabbix/conf/ && \
|
||||||
chmod -R g=u /etc/zabbix/ /usr/share/zabbix/conf/ && \
|
chmod -R g=u /etc/zabbix/ /usr/share/zabbix/conf/ && \
|
||||||
chown --quiet -R zabbix:root /etc/nginx/ /etc/php7/ && \
|
chown --quiet -R zabbix:root /etc/nginx/ /etc/php7/php-fpm.d/ /etc/php7/php-fpm.conf && \
|
||||||
chgrp -R 0 /etc/nginx/ /etc/php7/ && \
|
chgrp -R 0 /etc/nginx/ /etc/php7/php-fpm.d/ /etc/php7/php-fpm.conf && \
|
||||||
chmod -R g=u /etc/nginx/ /etc/php7/ && \
|
chmod -R g=u /etc/nginx/ /etc/php7/php-fpm.d/ /etc/php7/php-fpm.conf && \
|
||||||
chown --quiet -R zabbix:root /var/log/nginx/ /var/lib/nginx/ && \
|
chown --quiet -R zabbix:root /var/lib/php/session/ && \
|
||||||
chgrp -R 0 /var/log/nginx/ /var/lib/nginx/ && \
|
chgrp -R 0 /var/lib/php/session/ && \
|
||||||
chmod -R g=u /var/log/nginx/ /var/lib/nginx/ && \
|
chmod -R g=u /var/lib/php/session/ && \
|
||||||
apk del --purge --no-network \
|
apk del --purge --no-network \
|
||||||
build-dependencies && \
|
build-dependencies && \
|
||||||
rm -rf /var/cache/apk/*
|
rm -rf /var/cache/apk/*
|
||||||
|
@ -21,6 +21,13 @@ http {
|
|||||||
'"$http_user_agent" "$http_x_forwarded_for"';
|
'"$http_user_agent" "$http_x_forwarded_for"';
|
||||||
|
|
||||||
access_log /dev/fd/1 main;
|
access_log /dev/fd/1 main;
|
||||||
|
error_log /dev/fd/2 warn;
|
||||||
|
|
||||||
|
client_body_temp_path /tmp 1 2;
|
||||||
|
proxy_temp_path /tmp 1 2;
|
||||||
|
fastcgi_temp_path /tmp 1 2;
|
||||||
|
uwsgi_temp_path /tmp 1 2;
|
||||||
|
scgi_temp_path /tmp 1 2;
|
||||||
|
|
||||||
client_body_timeout 5m;
|
client_body_timeout 5m;
|
||||||
send_timeout 5m;
|
send_timeout 5m;
|
||||||
|
@ -17,6 +17,7 @@ RUN set -eux && \
|
|||||||
zabbix && \
|
zabbix && \
|
||||||
mkdir -p /etc/zabbix && \
|
mkdir -p /etc/zabbix && \
|
||||||
mkdir -p /etc/zabbix/web && \
|
mkdir -p /etc/zabbix/web && \
|
||||||
|
mkdir -p /var/lib/php/session && \
|
||||||
yum --quiet makecache && \
|
yum --quiet makecache && \
|
||||||
yum -y install epel-release && \
|
yum -y install epel-release && \
|
||||||
yum -y install --setopt=tsflags=nodocs \
|
yum -y install --setopt=tsflags=nodocs \
|
||||||
@ -70,9 +71,12 @@ RUN set -eux && \
|
|||||||
chown --quiet -R zabbix:root /etc/zabbix/ /usr/share/zabbix/conf/ && \
|
chown --quiet -R zabbix:root /etc/zabbix/ /usr/share/zabbix/conf/ && \
|
||||||
chgrp -R 0 /etc/zabbix/ /usr/share/zabbix/conf/ && \
|
chgrp -R 0 /etc/zabbix/ /usr/share/zabbix/conf/ && \
|
||||||
chmod -R g=u /etc/zabbix/ /usr/share/zabbix/conf/ && \
|
chmod -R g=u /etc/zabbix/ /usr/share/zabbix/conf/ && \
|
||||||
chown --quiet -R zabbix:root /etc/nginx/ /etc/php.d/ /etc/php.ini && \
|
chown --quiet -R zabbix:root /etc/nginx/ /etc/php-fpm.d/ /etc/php-fpm.conf && \
|
||||||
chgrp -R 0 /etc/nginx/ /etc/php.d/ /etc/php.ini && \
|
chgrp -R 0 /etc/nginx/ /etc/php-fpm.d/ /etc/php-fpm.conf && \
|
||||||
chmod -R g=u /etc/nginx/ /etc/php.d/ /etc/php.ini && \
|
chmod -R g=u /etc/nginx/ /etc/php-fpm.d/ /etc/php-fpm.conf && \
|
||||||
|
chown --quiet -R zabbix:root /var/lib/php/session/ && \
|
||||||
|
chgrp -R 0 /var/lib/php/session/ && \
|
||||||
|
chmod -R g=u /var/lib/php/session/ && \
|
||||||
yum -y history undo `yum -q history | sed -n 3p |column -t | cut -d' ' -f1` && \
|
yum -y history undo `yum -q history | sed -n 3p |column -t | cut -d' ' -f1` && \
|
||||||
yum -y clean all && \
|
yum -y clean all && \
|
||||||
rm -rf /var/cache/yum /var/lib/yum/yumdb/* /usr/lib/udev/hwdb.d/* && \
|
rm -rf /var/cache/yum /var/lib/yum/yumdb/* /usr/lib/udev/hwdb.d/* && \
|
||||||
|
@ -21,6 +21,13 @@ http {
|
|||||||
'"$http_user_agent" "$http_x_forwarded_for"';
|
'"$http_user_agent" "$http_x_forwarded_for"';
|
||||||
|
|
||||||
access_log /dev/fd/1 main;
|
access_log /dev/fd/1 main;
|
||||||
|
error_log /dev/fd/2 warn;
|
||||||
|
|
||||||
|
client_body_temp_path /tmp 1 2;
|
||||||
|
proxy_temp_path /tmp 1 2;
|
||||||
|
fastcgi_temp_path /tmp 1 2;
|
||||||
|
uwsgi_temp_path /tmp 1 2;
|
||||||
|
scgi_temp_path /tmp 1 2;
|
||||||
|
|
||||||
client_body_timeout 5m;
|
client_body_timeout 5m;
|
||||||
send_timeout 5m;
|
send_timeout 5m;
|
||||||
|
Reference in New Issue
Block a user