Merge branch 'master' into trunk

This commit is contained in:
Alexey Pustovalov 2019-11-01 02:01:29 +02:00
commit 45f9fa03d8
12 changed files with 6 additions and 18 deletions

View File

@ -54,6 +54,7 @@ RUN set -eux && \
php7-xmlreader \
php7-xmlwriter \
supervisor && \
rm -f /etc/nginx/conf.d/*.conf && \
rm -rf /var/cache/apk/*
ARG MAJOR_VERSION=4.4

View File

@ -638,9 +638,6 @@ prepare_web_server_nginx() {
NGINX_SSL_CONFIG="/etc/ssl/nginx"
PHP_SESSIONS_DIR="/var/lib/php5"
echo "** Disable default vhosts"
rm -f $NGINX_CONFD_DIR/*.conf
echo "** Adding Zabbix virtual host (HTTP)"
if [ -f "$ZABBIX_ETC_DIR/nginx.conf" ]; then
ln -s "$ZABBIX_ETC_DIR/nginx.conf" "$NGINX_CONFD_DIR"

View File

@ -80,6 +80,7 @@ RUN set -eux && \
php-mysql \
php-xml \
supervisor && \
rm -f /etc/nginx/conf.d/*.conf && \
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' && \

View File

@ -638,9 +638,6 @@ prepare_web_server_nginx() {
NGINX_SSL_CONFIG="/etc/ssl/nginx"
PHP_SESSIONS_DIR="/var/lib/php5"
echo "** Disable default vhosts"
rm -f $NGINX_CONFD_DIR/*.conf
echo "** Adding Zabbix virtual host (HTTP)"
if [ -f "$ZABBIX_ETC_DIR/nginx.conf" ]; then
ln -s "$ZABBIX_ETC_DIR/nginx.conf" "$NGINX_CONFD_DIR"

View File

@ -65,6 +65,7 @@ RUN set -eux && \
php7.2-mysql \
php7.2-xml \
supervisor && \
rm -f /etc/nginx/conf.d/*.conf && \
DEBIAN_FRONTEND=noninteractive apt-get ${APT_FLAGS_COMMON} purge \
wget && \
apt-get ${APT_FLAGS_COMMON} autoremove && \

View File

@ -638,9 +638,6 @@ prepare_web_server_nginx() {
NGINX_SSL_CONFIG="/etc/ssl/nginx"
PHP_SESSIONS_DIR="/var/lib/php5"
echo "** Disable default vhosts"
rm -f $NGINX_CONFD_DIR/*.conf
echo "** Adding Zabbix virtual host (HTTP)"
if [ -f "$ZABBIX_ETC_DIR/nginx.conf" ]; then
ln -s "$ZABBIX_ETC_DIR/nginx.conf" "$NGINX_CONFD_DIR"

View File

@ -53,6 +53,7 @@ RUN set -eux && \
php7-xmlwriter \
postgresql-client \
supervisor && \
rm -f /etc/nginx/conf.d/*.conf && \
rm -rf /var/cache/apk/*
ARG MAJOR_VERSION=4.4

View File

@ -638,9 +638,6 @@ prepare_web_server_nginx() {
NGINX_SSL_CONFIG="/etc/ssl/nginx"
PHP_SESSIONS_DIR="/var/lib/php5"
echo "** Disable default vhosts"
rm -f $NGINX_CONFD_DIR/*.conf
echo "** Adding Zabbix virtual host (HTTP)"
if [ -f "$ZABBIX_ETC_DIR/nginx.conf" ]; then
ln -s "$ZABBIX_ETC_DIR/nginx.conf" "$NGINX_CONFD_DIR"

View File

@ -78,6 +78,7 @@ RUN set -eux && \
php-mbstring \
php-pgsql \
php-xml && \
rm -f /etc/nginx/conf.d/*.conf && \
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' && \

View File

@ -630,9 +630,6 @@ prepare_web_server_nginx() {
NGINX_SSL_CONFIG="/etc/ssl/nginx"
PHP_SESSIONS_DIR="/var/lib/php5"
echo "** Disable default vhosts"
rm -f $NGINX_CONFD_DIR/*.conf
echo "** Adding Zabbix virtual host (HTTP)"
if [ -f "$ZABBIX_ETC_DIR/nginx.conf" ]; then
ln -s "$ZABBIX_ETC_DIR/nginx.conf" "$NGINX_CONFD_DIR"

View File

@ -65,6 +65,7 @@ RUN set -eux && \
php7.2-pgsql \
postgresql-client \
supervisor && \
rm -f /etc/nginx/conf.d/*.conf && \
DEBIAN_FRONTEND=noninteractive apt-get ${APT_FLAGS_COMMON} purge \
wget && \
apt-get ${APT_FLAGS_COMMON} autoremove && \

View File

@ -630,9 +630,6 @@ prepare_web_server_nginx() {
NGINX_SSL_CONFIG="/etc/ssl/nginx"
PHP_SESSIONS_DIR="/var/lib/php5"
echo "** Disable default vhosts"
rm -f $NGINX_CONFD_DIR/*.conf
echo "** Adding Zabbix virtual host (HTTP)"
if [ -f "$ZABBIX_ETC_DIR/nginx.conf" ]; then
ln -s "$ZABBIX_ETC_DIR/nginx.conf" "$NGINX_CONFD_DIR"