mirror of
https://github.com/zabbix/zabbix-docker.git
synced 2025-08-09 08:35:05 +02:00
Updated Ubuntu to 18.04 (bionic) release
This commit is contained in:
@ -14,7 +14,7 @@ Zabbix web interface is a part of Zabbix software. It is used to manage resource
|
||||
|
||||
# Zabbix web interface images
|
||||
|
||||
These are the only official Zabbix web interface Docker images. They are based on Alpine Linux v3.4, Ubuntu 14.04 (trusty) and CentOS 7 images. The available versions of Zabbix web interface are:
|
||||
These are the only official Zabbix web interface Docker images. They are based on Alpine Linux v3.4, Ubuntu 18.04 (bionic) and CentOS 7 images. The available versions of Zabbix web interface are:
|
||||
|
||||
Zabbix web interface 3.0 (tags: alpine-3.0-latest, ubuntu-3.0-latest, centos-3.0-latest)
|
||||
Zabbix web interface 3.0.* (tags: alpine-3.0.*, ubuntu-3.0.*, centos-3.0.*)
|
||||
|
@ -593,6 +593,7 @@ prepare_web_server_nginx() {
|
||||
fi
|
||||
|
||||
ln -sf /dev/fd/2 /var/log/php5-fpm.log
|
||||
ln -sf /dev/fd/2 /var/log/php7.2-fpm.log
|
||||
}
|
||||
|
||||
stop_databases() {
|
||||
@ -845,6 +846,10 @@ prepare_zbx_web_config() {
|
||||
PHP_CONFIG_FILE="/etc/php.d/99-zabbix.ini"
|
||||
elif [ -f "/etc/php7/conf.d/99-zabbix.ini" ]; then
|
||||
PHP_CONFIG_FILE="/etc/php7/conf.d/99-zabbix.ini"
|
||||
elif [ -f "/etc/php/7.2/fpm/conf.d/99-zabbix.ini" ]; then
|
||||
PHP_CONFIG_FILE="/etc/php/7.2/fpm/conf.d/99-zabbix.ini"
|
||||
elif [ -f "/etc/php/7.2/apache2/conf.d/99-zabbix.ini" ]; then
|
||||
PHP_CONFIG_FILE="/etc/php/7.2/apache2/conf.d/99-zabbix.ini"
|
||||
fi
|
||||
|
||||
if [ -n "$PHP_CONFIG_FILE" ]; then
|
||||
|
@ -14,7 +14,7 @@ Zabbix web interface is a part of Zabbix software. It is used to manage resource
|
||||
|
||||
# Zabbix web interface images
|
||||
|
||||
These are the only official Zabbix web interface Docker images. They are based on Alpine Linux v3.4, Ubuntu 14.04 (trusty) and CentOS 7 images. The available versions of Zabbix web interface are:
|
||||
These are the only official Zabbix web interface Docker images. They are based on Alpine Linux v3.4, Ubuntu 18.04 (bionic) and CentOS 7 images. The available versions of Zabbix web interface are:
|
||||
|
||||
Zabbix web interface 3.0 (tags: alpine-3.0-latest, ubuntu-3.0-latest, centos-3.0-latest)
|
||||
Zabbix web interface 3.0.* (tags: alpine-3.0.*, ubuntu-3.0.*, centos-3.0.*)
|
||||
|
@ -593,6 +593,7 @@ prepare_web_server_nginx() {
|
||||
fi
|
||||
|
||||
ln -sf /dev/fd/2 /var/log/php5-fpm.log
|
||||
ln -sf /dev/fd/2 /var/log/php7.2-fpm.log
|
||||
}
|
||||
|
||||
stop_databases() {
|
||||
@ -845,6 +846,10 @@ prepare_zbx_web_config() {
|
||||
PHP_CONFIG_FILE="/etc/php.d/99-zabbix.ini"
|
||||
elif [ -f "/etc/php7/conf.d/99-zabbix.ini" ]; then
|
||||
PHP_CONFIG_FILE="/etc/php7/conf.d/99-zabbix.ini"
|
||||
elif [ -f "/etc/php/7.2/fpm/conf.d/99-zabbix.ini" ]; then
|
||||
PHP_CONFIG_FILE="/etc/php/7.2/fpm/conf.d/99-zabbix.ini"
|
||||
elif [ -f "/etc/php/7.2/apache2/conf.d/99-zabbix.ini" ]; then
|
||||
PHP_CONFIG_FILE="/etc/php/7.2/apache2/conf.d/99-zabbix.ini"
|
||||
fi
|
||||
|
||||
if [ -n "$PHP_CONFIG_FILE" ]; then
|
||||
|
@ -1,4 +1,4 @@
|
||||
FROM ubuntu:trusty
|
||||
FROM ubuntu:bionic
|
||||
LABEL maintainer="Alexey Pustovalov <alexey.pustovalov@zabbix.com>"
|
||||
|
||||
ARG BUILD_DATE
|
||||
@ -21,7 +21,9 @@ LABEL org.label-schema.name="zabbix-web-${ZBX_OPT_TYPE}-${DB_TYPE}-ubuntu" \
|
||||
|
||||
STOPSIGNAL SIGTERM
|
||||
|
||||
RUN locale-gen $LC_ALL && \
|
||||
RUN apt-get ${APT_FLAGS_COMMON} update && \
|
||||
apt-get ${APT_FLAGS_PERSISTENT} install locales && \
|
||||
locale-gen $LC_ALL && \
|
||||
echo "#!/bin/sh\nexit 0" > /usr/sbin/policy-rc.d && \
|
||||
addgroup --system --quiet zabbix && \
|
||||
adduser --quiet \
|
||||
@ -37,12 +39,15 @@ RUN locale-gen $LC_ALL && \
|
||||
apt-get ${APT_FLAGS_PERSISTENT} install \
|
||||
apache2 \
|
||||
curl \
|
||||
libapache2-mod-php5 \
|
||||
libapache2-mod-php \
|
||||
mysql-client \
|
||||
php5-gd \
|
||||
php5-json \
|
||||
php5-ldap \
|
||||
php5-mysql \
|
||||
php7.2-bcmath \
|
||||
php7.2-gd \
|
||||
php7.2-json \
|
||||
php7.2-ldap \
|
||||
php7.2-mbstring \
|
||||
php7.2-mysql \
|
||||
php7.2-xml \
|
||||
ttf-dejavu-core && \
|
||||
apt-get ${APT_FLAGS_COMMON} autoremove && \
|
||||
apt-get ${APT_FLAGS_COMMON} clean && \
|
||||
@ -102,7 +107,7 @@ VOLUME ["/etc/ssl/apache2"]
|
||||
COPY ["conf/etc/zabbix/apache.conf", "/etc/zabbix/"]
|
||||
COPY ["conf/etc/zabbix/apache_ssl.conf", "/etc/zabbix/"]
|
||||
COPY ["conf/etc/zabbix/web/zabbix.conf.php", "/etc/zabbix/web/"]
|
||||
COPY ["conf/etc/php5/apache2/conf.d/99-zabbix.ini", "/etc/php5/apache2/conf.d/"]
|
||||
COPY ["conf/etc/php/7.2/apache2/conf.d/99-zabbix.ini", "/etc/php/7.2/apache2/conf.d/"]
|
||||
COPY ["docker-entrypoint.sh", "/usr/bin/"]
|
||||
|
||||
ENTRYPOINT ["docker-entrypoint.sh"]
|
||||
|
@ -14,7 +14,7 @@ Zabbix web interface is a part of Zabbix software. It is used to manage resource
|
||||
|
||||
# Zabbix web interface images
|
||||
|
||||
These are the only official Zabbix web interface Docker images. They are based on Alpine Linux v3.4, Ubuntu 14.04 (trusty) and CentOS 7 images. The available versions of Zabbix web interface are:
|
||||
These are the only official Zabbix web interface Docker images. They are based on Alpine Linux v3.4, Ubuntu 18.04 (bionic) and CentOS 7 images. The available versions of Zabbix web interface are:
|
||||
|
||||
Zabbix web interface 3.0 (tags: alpine-3.0-latest, ubuntu-3.0-latest, centos-3.0-latest)
|
||||
Zabbix web interface 3.0.* (tags: alpine-3.0.*, ubuntu-3.0.*, centos-3.0.*)
|
||||
|
@ -1,8 +0,0 @@
|
||||
max_execution_time=300
|
||||
memory_limit=128M
|
||||
post_max_size=16M
|
||||
upload_max_filesize=2M
|
||||
max_input_time=300
|
||||
always_populate_raw_post_date=-1
|
||||
; date.timezone=Europe/Riga
|
||||
session.save_path=/var/lib/php5
|
@ -593,6 +593,7 @@ prepare_web_server_nginx() {
|
||||
fi
|
||||
|
||||
ln -sf /dev/fd/2 /var/log/php5-fpm.log
|
||||
ln -sf /dev/fd/2 /var/log/php7.2-fpm.log
|
||||
}
|
||||
|
||||
stop_databases() {
|
||||
@ -845,6 +846,10 @@ prepare_zbx_web_config() {
|
||||
PHP_CONFIG_FILE="/etc/php.d/99-zabbix.ini"
|
||||
elif [ -f "/etc/php7/conf.d/99-zabbix.ini" ]; then
|
||||
PHP_CONFIG_FILE="/etc/php7/conf.d/99-zabbix.ini"
|
||||
elif [ -f "/etc/php/7.2/fpm/conf.d/99-zabbix.ini" ]; then
|
||||
PHP_CONFIG_FILE="/etc/php/7.2/fpm/conf.d/99-zabbix.ini"
|
||||
elif [ -f "/etc/php/7.2/apache2/conf.d/99-zabbix.ini" ]; then
|
||||
PHP_CONFIG_FILE="/etc/php/7.2/apache2/conf.d/99-zabbix.ini"
|
||||
fi
|
||||
|
||||
if [ -n "$PHP_CONFIG_FILE" ]; then
|
||||
|
Reference in New Issue
Block a user