Skip to content

Commit

Permalink
Merge branch 'master' into 4.4
Browse files Browse the repository at this point in the history
  • Loading branch information
dotneft committed Nov 1, 2019
2 parents 578692d + 406f32d commit fac1f3a
Show file tree
Hide file tree
Showing 12 changed files with 6 additions and 18 deletions.
1 change: 1 addition & 0 deletions web-nginx-mysql/alpine/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 0 additions & 3 deletions web-nginx-mysql/alpine/docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
1 change: 1 addition & 0 deletions web-nginx-mysql/centos/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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' && \
Expand Down
3 changes: 0 additions & 3 deletions web-nginx-mysql/centos/docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
1 change: 1 addition & 0 deletions web-nginx-mysql/ubuntu/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 && \
Expand Down
3 changes: 0 additions & 3 deletions web-nginx-mysql/ubuntu/docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
1 change: 1 addition & 0 deletions web-nginx-pgsql/alpine/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 0 additions & 3 deletions web-nginx-pgsql/alpine/docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
1 change: 1 addition & 0 deletions web-nginx-pgsql/centos/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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' && \
Expand Down
3 changes: 0 additions & 3 deletions web-nginx-pgsql/centos/docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
1 change: 1 addition & 0 deletions web-nginx-pgsql/ubuntu/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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 && \
Expand Down
3 changes: 0 additions & 3 deletions web-nginx-pgsql/ubuntu/docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit fac1f3a

Please sign in to comment.