mirror of
https://github.com/zabbix/zabbix-docker.git
synced 2025-08-09 00:24:58 +02:00
Updated Ubuntu to 18.04 (bionic) release
This commit is contained in:
@ -14,7 +14,7 @@ Zabbix proxy is a process that may collect monitoring data from one or more moni
|
||||
|
||||
# Zabbix proxy images
|
||||
|
||||
These are the only official Zabbix proxy Docker images. They are based on Alpine Linux v3.4, Ubuntu 14.04 (trusty) and CentOS 7 images. The available versions of Zabbix proxy are:
|
||||
These are the only official Zabbix proxy Docker images. They are based on Alpine Linux v3.4, Ubuntu 18.04 (bionic) and CentOS 7 images. The available versions of Zabbix proxy are:
|
||||
|
||||
Zabbix proxy 3.0 (tags: alpine-3.0-latest, ubuntu-3.0-latest, centos-3.0-latest)
|
||||
Zabbix proxy 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() {
|
||||
@ -833,6 +834,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 proxy is a process that may collect monitoring data from one or more moni
|
||||
|
||||
# Zabbix proxy images
|
||||
|
||||
These are the only official Zabbix proxy Docker images. They are based on Alpine Linux v3.4, Ubuntu 14.04 (trusty) and CentOS 7 images. The available versions of Zabbix proxy are:
|
||||
These are the only official Zabbix proxy Docker images. They are based on Alpine Linux v3.4, Ubuntu 18.04 (bionic) and CentOS 7 images. The available versions of Zabbix proxy are:
|
||||
|
||||
Zabbix proxy 3.0 (tags: alpine-3.0-latest, ubuntu-3.0-latest, centos-3.0-latest)
|
||||
Zabbix proxy 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() {
|
||||
@ -833,6 +834,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
|
||||
@ -22,10 +22,10 @@ LABEL org.label-schema.name="zabbix-${ZBX_TYPE}-${ZBX_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 && \
|
||||
DISTRIB_CODENAME=$(/bin/bash -c 'source /etc/lsb-release && echo $DISTRIB_CODENAME') && \
|
||||
echo "deb http://us.archive.ubuntu.com/ubuntu/ $DISTRIB_CODENAME multiverse" >> /etc/apt/sources.list && \
|
||||
addgroup --system --quiet zabbix && \
|
||||
adduser --quiet \
|
||||
--system --disabled-login \
|
||||
@ -48,12 +48,12 @@ RUN locale-gen $LC_ALL && \
|
||||
apt-get ${APT_FLAGS_COMMON} update && \
|
||||
apt-get ${APT_FLAGS_PERSISTENT} install \
|
||||
fping \
|
||||
libcurl3 \
|
||||
libcurl4 \
|
||||
libopenipmi0 \
|
||||
libsnmp30 \
|
||||
libsqlite3-0 \
|
||||
libssh2-1 \
|
||||
libssl1.0.0 \
|
||||
libssl1.1 \
|
||||
libxml2 \
|
||||
snmp-mibs-downloader \
|
||||
unixodbc && \
|
||||
|
@ -14,7 +14,7 @@ Zabbix proxy is a process that may collect monitoring data from one or more moni
|
||||
|
||||
# Zabbix proxy images
|
||||
|
||||
These are the only official Zabbix proxy Docker images. They are based on Alpine Linux v3.4, Ubuntu 14.04 (trusty) and CentOS 7 images. The available versions of Zabbix proxy are:
|
||||
These are the only official Zabbix proxy Docker images. They are based on Alpine Linux v3.4, Ubuntu 18.04 (bionic) and CentOS 7 images. The available versions of Zabbix proxy are:
|
||||
|
||||
Zabbix proxy 3.0 (tags: alpine-3.0-latest, ubuntu-3.0-latest, centos-3.0-latest)
|
||||
Zabbix proxy 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() {
|
||||
@ -833,6 +834,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