Skip to content

Commit

Permalink
Updated Ubuntu to 24.04
Browse files Browse the repository at this point in the history
  • Loading branch information
dotneft committed Apr 23, 2024
1 parent fac9a43 commit 599e7ab
Show file tree
Hide file tree
Showing 48 changed files with 98 additions and 127 deletions.
2 changes: 1 addition & 1 deletion .env
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ RESTART_POLICY=unless-stopped
ALPINE_CACHE_FROM=alpine:3.19
CENTOS_CACHE_FROM=quay.io/centos/centos:stream9
OL_CACHE_FROM=oraclelinux:9-slim
UBUNTU_CACHE_FROM=ubuntu:jammy
UBUNTU_CACHE_FROM=ubuntu:noble
RHEL_CACHE_FROM=registry.access.redhat.com/ubi9/ubi-minimal:9.3

# Base images
Expand Down
2 changes: 1 addition & 1 deletion Dockerfiles/agent/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Zabbix agent is deployed on a monitoring target to actively monitor local resour

# Zabbix agent images

These are the only official Zabbix agent Docker images. They are based on Alpine Linux v3.19, Ubuntu 22.04 (jammy), CentOS Stream 9, Oracle Linux 9, Windows 10 LTSC 2019 and Windows 11 LTSC 2022 images. The available versions of Zabbix agent are:
These are the only official Zabbix agent Docker images. They are based on Alpine Linux v3.19, Ubuntu 24.04 (noble), CentOS Stream 9, Oracle Linux 9, Windows 10 LTSC 2019 and Windows 11 LTSC 2022 images. The available versions of Zabbix agent are:

Zabbix agent 5.0 (tags: alpine-5.0-latest, ubuntu-5.0-latest, ol-5.0-latest, ltsc2019-5.0-latest, ltsc2022-5.0-latest)
Zabbix agent 5.0.* (tags: alpine-5.0.*, ubuntu-5.0.*, ol-5.0.*, ltsc2019-5.0.*, ltsc2022-5.0.*)
Expand Down
2 changes: 1 addition & 1 deletion Dockerfiles/agent/ubuntu/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ ARG BUILD_BASE_IMAGE=zabbix-build-mysql:ubuntu-${ZBX_VERSION}

FROM ${BUILD_BASE_IMAGE} AS builder

FROM ubuntu:jammy
FROM ubuntu:noble

ARG MAJOR_VERSION
ARG ZBX_VERSION
Expand Down
2 changes: 1 addition & 1 deletion Dockerfiles/agent2/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Zabbix agent 2 is deployed on a monitoring target to actively monitor local reso

# Zabbix agent 2 images

These are the only official Zabbix agent 2 Docker images. They are based on Alpine Linux v3.19, Ubuntu 22.04 (jammy), CentOS Stream 9, Oracle Linux 9, Windows 10 LTSC 2019 and Windows 11 LTSC 2022 images. The available versions of Zabbix agent 2 are:
These are the only official Zabbix agent 2 Docker images. They are based on Alpine Linux v3.19, Ubuntu 24.04 (noble), CentOS Stream 9, Oracle Linux 9, Windows 10 LTSC 2019 and Windows 11 LTSC 2022 images. The available versions of Zabbix agent 2 are:

Zabbix agent 2 5.0 (tags: alpine-5.0-latest, ubuntu-5.0-latest, ol-5.0-latest , ltsc2019-5.0-latest, ltsc2022-5.0-latest)
Zabbix agent 2 5.0.* (tags: alpine-5.0.*, ubuntu-5.0.*, ol-5.0.*, ltsc2019-5.0.*, ltsc2022-5.0.*)
Expand Down
2 changes: 1 addition & 1 deletion Dockerfiles/agent2/ubuntu/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ ARG BUILD_BASE_IMAGE=zabbix-build-mysql:ubuntu-${ZBX_VERSION}

FROM ${BUILD_BASE_IMAGE} AS builder

FROM ubuntu:jammy
FROM ubuntu:noble

ARG MAJOR_VERSION
ARG ZBX_VERSION
Expand Down
2 changes: 1 addition & 1 deletion Dockerfiles/build-base/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Zabbix build base image is prepared build environment for building Zabbix compon

# Zabbix build base images

These are the only official Zabbix build base Docker images. They are based on Alpine Linux v3.19, Ubuntu 22.04 (jammy), CentOS Stream 9 and Oracle Linux 9 images. The available versions of the image are:
These are the only official Zabbix build base Docker images. They are based on Alpine Linux v3.19, Ubuntu 24.04 (noble), CentOS Stream 9 and Oracle Linux 9 images. The available versions of the image are:

Zabbix build base 5.0 (tags: alpine-5.0-latest, ubuntu-5.0-latest, ol-5.0-latest)
Zabbix build base 5.0.* (tags: alpine-5.0.*, ubuntu-5.0.*, ol-5.0.*)
Expand Down
6 changes: 3 additions & 3 deletions Dockerfiles/build-base/ubuntu/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# syntax=docker/dockerfile:1
FROM ubuntu:jammy
FROM ubuntu:noble

ARG MAJOR_VERSION=7.0
ARG ZBX_VERSION=${MAJOR_VERSION}

ENV TERM=xterm \
ZBX_VERSION=${ZBX_VERSION} \
PATH=/usr/lib/go-1.21/bin:$PATH
PATH=/usr/lib/go-1.22/bin:$PATH

LABEL org.opencontainers.image.authors="Alexey Pustovalov <[email protected]>" \
org.opencontainers.image.description="Zabbix build base image contains all required packages to build Zabbix images" \
Expand Down Expand Up @@ -44,7 +44,7 @@ RUN --mount=type=cache,target=/var/lib/apt/,sharing=locked \
pkg-config \
gettext \
git \
golang-1.21 \
golang-1.22 \
unzip \
unixodbc-dev \
zlib1g-dev" && \
Expand Down
2 changes: 1 addition & 1 deletion Dockerfiles/build-mysql/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Zabbix build base (MySQL) image is used for building Zabbix components. It conta

# Zabbix build base (MySQL) images

These are the only official Zabbix build base (MySQL) Docker images. They are based on Alpine Linux v3.19, Ubuntu 22.04 (jammy), CentOS Stream 9 and Oracle Linux 9 images. The available versions of the image are:
These are the only official Zabbix build base (MySQL) Docker images. They are based on Alpine Linux v3.19, Ubuntu 24.04 (noble), CentOS Stream 9 and Oracle Linux 9 images. The available versions of the image are:

Zabbix build base 5.0 (tags: alpine-5.0-latest, ubuntu-5.0-latest, ol-5.0-latest)
Zabbix build base 5.0.* (tags: alpine-5.0.*, ubuntu-5.0.*, ol-5.0.*)
Expand Down
2 changes: 1 addition & 1 deletion Dockerfiles/build-pgsql/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Zabbix build base (PostgreSQL) image is used for building Zabbix components. It

# Zabbix build base (PostgreSQL) images

These are the only official Zabbix build base (PostgreSQL) Docker images. They are based on Alpine Linux v3.19, Ubuntu 22.04 (jammy), CentOS Stream 9 and Oracle Linux 9 images. The available versions of the image are:
These are the only official Zabbix build base (PostgreSQL) Docker images. They are based on Alpine Linux v3.19, Ubuntu 24.04 (noble), CentOS Stream 9 and Oracle Linux 9 images. The available versions of the image are:

Zabbix build base 5.0 (tags: alpine-5.0-latest, ubuntu-5.0-latest, ol-5.0-latest)
Zabbix build base 5.0.* (tags: alpine-5.0.*, ubuntu-5.0.*, ol-5.0.*)
Expand Down
2 changes: 1 addition & 1 deletion Dockerfiles/build-sqlite3/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Zabbix build base (SQLite3) image is used for building Zabbix components. It con

# Zabbix build base (SQLite3) images

These are the only official Zabbix build base (SQLite3) Docker images. They are based on Alpine Linux v3.19, Ubuntu 22.04 (jammy), CentOS Stream 9 and Oracle Linux 9 images. The available versions of the image are:
These are the only official Zabbix build base (SQLite3) Docker images. They are based on Alpine Linux v3.19, Ubuntu 24.04 (noble), CentOS Stream 9 and Oracle Linux 9 images. The available versions of the image are:

Zabbix build base 5.0 (tags: alpine-5.0-latest, ubuntu-5.0-latest, ol-5.0-latest)
Zabbix build base 5.0.* (tags: alpine-5.0.*, ubuntu-5.0.*, ol-5.0.*)
Expand Down
2 changes: 1 addition & 1 deletion Dockerfiles/java-gateway/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ Zabbix Java Gateway performs native support for monitoring JMX applications. Jav

# Zabbix Java Gateway images

These are the only official Zabbix Java Gateway Docker images. They are based on Alpine Linux v3.19, Ubuntu 22.04 (jammy), CentOS Stream 9 and Oracle Linux 9 images. The available versions of Zabbix Java Gateway are:
These are the only official Zabbix Java Gateway Docker images. They are based on Alpine Linux v3.19, Ubuntu 24.04 (noble), CentOS Stream 9 and Oracle Linux 9 images. The available versions of Zabbix Java Gateway are:

Zabbix Java Gateway 5.0 (tags: alpine-5.0-latest, ubuntu-5.0-latest, ol-5.0-latest)
Zabbix Java Gateway 5.0.* (tags: alpine-5.0.*, ubuntu-5.0.*, ol-5.0.*)
Expand Down
2 changes: 1 addition & 1 deletion Dockerfiles/java-gateway/ubuntu/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ ARG BUILD_BASE_IMAGE=zabbix-build-mysql:ubuntu-${ZBX_VERSION}

FROM ${BUILD_BASE_IMAGE} AS builder

FROM ubuntu:jammy
FROM ubuntu:noble

ARG MAJOR_VERSION
ARG ZBX_VERSION
Expand Down
2 changes: 1 addition & 1 deletion Dockerfiles/proxy-mysql/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.19, Ubuntu 22.04 (jammy), CentOS Stream 9 and Oracle Linux 9 images. The available versions of Zabbix proxy are:
These are the only official Zabbix proxy Docker images. They are based on Alpine Linux v3.19, Ubuntu 24.04 (noble), CentOS Stream 9 and Oracle Linux 9 images. The available versions of Zabbix proxy are:

Zabbix proxy 5.0 (tags: alpine-5.0-latest, ubuntu-5.0-latest, ol-5.0-latest)
Zabbix proxy 5.0.* (tags: alpine-5.0.*, ubuntu-5.0.*, ol-5.0.*)
Expand Down
2 changes: 1 addition & 1 deletion Dockerfiles/proxy-mysql/ubuntu/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ ARG ZBX_SOURCES=https://git.zabbix.com/scm/zbx/zabbix.git

FROM ${BUILD_BASE_IMAGE} AS builder

FROM ubuntu:jammy
FROM ubuntu:noble

ARG MAJOR_VERSION
ARG ZBX_VERSION
Expand Down
2 changes: 1 addition & 1 deletion Dockerfiles/proxy-sqlite3/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.19, Ubuntu 22.04 (jammy), CentOS Stream 9 and Oracle Linux 9 images. The available versions of Zabbix proxy are:
These are the only official Zabbix proxy Docker images. They are based on Alpine Linux v3.19, Ubuntu 24.04 (noble), CentOS Stream 9 and Oracle Linux 9 images. The available versions of Zabbix proxy are:

Zabbix proxy 5.0 (tags: alpine-5.0-latest, ubuntu-5.0-latest, ol-5.0-latest)
Zabbix proxy 5.0.* (tags: alpine-5.0.*, ubuntu-5.0.*, ol-5.0.*)
Expand Down
2 changes: 1 addition & 1 deletion Dockerfiles/proxy-sqlite3/ubuntu/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ ARG BUILD_BASE_IMAGE=zabbix-build-sqlite3:ubuntu-${ZBX_VERSION}

FROM ${BUILD_BASE_IMAGE} AS builder

FROM ubuntu:jammy
FROM ubuntu:noble

ARG MAJOR_VERSION
ARG ZBX_VERSION
Expand Down
2 changes: 1 addition & 1 deletion Dockerfiles/server-mysql/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ The server performs the polling and trapping of data, it calculates triggers, se

# Zabbix server images

These are the only official Zabbix server Docker images. They are based on Alpine Linux v3.19, Ubuntu 22.04 (jammy), CentOS Stream 9 and Oracle Linux 9 images. The available versions of Zabbix server are:
These are the only official Zabbix server Docker images. They are based on Alpine Linux v3.19, Ubuntu 24.04 (noble), CentOS Stream 9 and Oracle Linux 9 images. The available versions of Zabbix server are:

Zabbix server 5.0 (tags: alpine-5.0-latest, ubuntu-5.0-latest, ol-5.0-latest)
Zabbix server 5.0.* (tags: alpine-5.0.*, ubuntu-5.0.*, ol-5.0.*)
Expand Down
2 changes: 1 addition & 1 deletion Dockerfiles/server-mysql/ubuntu/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ ARG BUILD_BASE_IMAGE=zabbix-build-mysql:ubuntu-${ZBX_VERSION}

FROM ${BUILD_BASE_IMAGE} AS builder

FROM ubuntu:jammy
FROM ubuntu:noble

ARG MAJOR_VERSION
ARG ZBX_VERSION
Expand Down
2 changes: 1 addition & 1 deletion Dockerfiles/server-pgsql/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ The server performs the polling and trapping of data, it calculates triggers, se

# Zabbix server images

These are the only official Zabbix server Docker images. They are based on Alpine Linux v3.19, Ubuntu 22.04 (jammy), CentOS Stream 9 and Oracle Linux 9 images. The available versions of Zabbix server are:
These are the only official Zabbix server Docker images. They are based on Alpine Linux v3.19, Ubuntu 24.04 (noble), CentOS Stream 9 and Oracle Linux 9 images. The available versions of Zabbix server are:

Zabbix server 5.0 (tags: alpine-5.0-latest, ubuntu-5.0-latest, ol-5.0-latest)
Zabbix server 5.0.* (tags: alpine-5.0.*, ubuntu-5.0.*, ol-5.0.*)
Expand Down
2 changes: 1 addition & 1 deletion Dockerfiles/server-pgsql/ubuntu/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ ARG BUILD_BASE_IMAGE=zabbix-build-pgsql:ubuntu-${ZBX_VERSION}

FROM ${BUILD_BASE_IMAGE} AS builder

FROM ubuntu:jammy
FROM ubuntu:noble

ARG MAJOR_VERSION
ARG ZBX_VERSION
Expand Down
2 changes: 1 addition & 1 deletion Dockerfiles/snmptraps/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ The image is used to receive SNMP traps, store them to a log file and provide ac

# Zabbix snmptraps images

These are the only official Zabbix snmptraps Docker images. They are based on Alpine Linux v3.19, Ubuntu 22.04 (jammy), CentOS Stream 9 and Oracle Linux 9 images. The available versions of Zabbix snmptraps are:
These are the only official Zabbix snmptraps Docker images. They are based on Alpine Linux v3.19, Ubuntu 24.04 (noble), CentOS Stream 9 and Oracle Linux 9 images. The available versions of Zabbix snmptraps are:

Zabbix snmptraps 5.0 (tags: alpine-5.0-latest, ubuntu-5.0-latest, ol-5.0-latest)
Zabbix snmptraps 5.0.* (tags: alpine-5.0.*, ubuntu-5.0.*, ol-5.0.*)
Expand Down
2 changes: 1 addition & 1 deletion Dockerfiles/snmptraps/ubuntu/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ubuntu:jammy
FROM ubuntu:noble

ARG MAJOR_VERSION=7.0
ARG ZBX_VERSION=${MAJOR_VERSION}
Expand Down
2 changes: 1 addition & 1 deletion Dockerfiles/web-apache-mysql/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.19, Ubuntu 22.04 (jammy), CentOS Stream 9 and Oracle Linux 9 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.19, Ubuntu 24.04 (noble), CentOS Stream 9 and Oracle Linux 9 images. The available versions of Zabbix web interface are:

Zabbix web interface 5.0 (tags: alpine-5.0-latest, ubuntu-5.0-latest, ol-5.0-latest)
Zabbix web interface 5.0.* (tags: alpine-5.0.*, ubuntu-5.0.*, ol-5.0.*)
Expand Down
20 changes: 10 additions & 10 deletions Dockerfiles/web-apache-mysql/ubuntu/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ ARG BUILD_BASE_IMAGE=zabbix-build-mysql:ubuntu-${ZBX_VERSION}

FROM ${BUILD_BASE_IMAGE} AS builder

FROM ubuntu:jammy
FROM ubuntu:noble

ARG MAJOR_VERSION
ARG ZBX_VERSION
Expand Down Expand Up @@ -41,12 +41,12 @@ RUN --mount=type=cache,target=/var/lib/apt/,sharing=locked \
mysql-client \
locales \
libldap-common \
php8.1-bcmath \
php8.1-gd \
php8.1-ldap \
php8.1-mbstring \
php8.1-mysql \
php8.1-xml" && \
php8.3-bcmath \
php8.3-gd \
php8.3-ldap \
php8.3-mbstring \
php8.3-mysql \
php8.3-xml" && \
apt-get -y update && \
DEBIAN_FRONTEND=noninteractive apt-get -y \
--no-install-recommends install \
Expand Down Expand Up @@ -98,9 +98,9 @@ RUN --mount=type=cache,target=/var/lib/apt/,sharing=locked \
chown --quiet -R zabbix:root /etc/zabbix/ /usr/share/zabbix/include/defines.inc.php /usr/share/zabbix/modules/ && \
chgrp -R 0 /etc/zabbix/ /usr/share/zabbix/include/defines.inc.php /usr/share/zabbix/modules/ && \
chmod -R g=u /etc/zabbix/ /usr/share/zabbix/include/defines.inc.php /usr/share/zabbix/modules/ && \
chown --quiet -R zabbix:root /etc/apache2/ /etc/php/8.1/ && \
chgrp -R 0 /etc/apache2/ /etc/php/8.1/ && \
chmod -R g=u /etc/apache2/ /etc/php/8.1/ && \
chown --quiet -R zabbix:root /etc/apache2/ /etc/php/8.3/ && \
chgrp -R 0 /etc/apache2/ /etc/php/8.3/ && \
chmod -R g=u /etc/apache2/ /etc/php/8.3/ && \
apt-get -y autoremove && \
apt-get -y clean

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
export APACHE_RUN_USER=zabbix
export APACHE_RUN_GROUP=zabbix
export APACHE_PID_FILE=/tmp/apache2.pid
export APACHE_RUN_DIR=/tmp
2 changes: 2 additions & 0 deletions Dockerfiles/web-apache-mysql/ubuntu/docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,8 @@ check_db_connect() {
prepare_web_server() {
APACHE_SITES_DIR="/etc/apache2/sites-enabled"

ln -sfT "$ZABBIX_ETC_DIR/apache_envvars" "/etc/apache2/envvars"

echo "** Adding Zabbix virtual host (HTTP)"
if [ -f "$ZABBIX_ETC_DIR/apache.conf" ]; then
ln -sfT "$ZABBIX_ETC_DIR/apache.conf" "$APACHE_SITES_DIR/zabbix.conf"
Expand Down
2 changes: 1 addition & 1 deletion Dockerfiles/web-apache-pgsql/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.19, Ubuntu 22.04 (jammy), CentOS Stream 9 and Oracle Linux 9 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.19, Ubuntu 24.04 (noble), CentOS Stream 9 and Oracle Linux 9 images. The available versions of Zabbix web interface are:

Zabbix web interface 5.0 (tags: alpine-5.0-latest, ubuntu-5.0-latest, ol-5.0-latest)
Zabbix web interface 5.0.* (tags: alpine-5.0.*, ubuntu-5.0.*, ol-5.0.*)
Expand Down
20 changes: 10 additions & 10 deletions Dockerfiles/web-apache-pgsql/ubuntu/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ ARG BUILD_BASE_IMAGE=zabbix-build-mysql:ubuntu-${ZBX_VERSION}

FROM ${BUILD_BASE_IMAGE} AS builder

FROM ubuntu:jammy
FROM ubuntu:noble

ARG MAJOR_VERSION
ARG ZBX_VERSION
Expand Down Expand Up @@ -40,12 +40,12 @@ RUN --mount=type=cache,target=/var/lib/apt/,sharing=locked \
ca-certificates \
locales \
libldap-common \
php8.1-bcmath \
php8.1-gd \
php8.1-ldap \
php8.1-mbstring \
php8.1-xml \
php8.1-pgsql \
php8.3-bcmath \
php8.3-gd \
php8.3-ldap \
php8.3-mbstring \
php8.3-xml \
php8.3-pgsql \
postgresql-client" && \
apt-get -y update && \
DEBIAN_FRONTEND=noninteractive apt-get -y \
Expand Down Expand Up @@ -98,9 +98,9 @@ RUN --mount=type=cache,target=/var/lib/apt/,sharing=locked \
chown --quiet -R zabbix:root /etc/zabbix/ /usr/share/zabbix/include/defines.inc.php /usr/share/zabbix/modules/ && \
chgrp -R 0 /etc/zabbix/ /usr/share/zabbix/include/defines.inc.php /usr/share/zabbix/modules/ && \
chmod -R g=u /etc/zabbix/ /usr/share/zabbix/include/defines.inc.php /usr/share/zabbix/modules/ && \
chown --quiet -R zabbix:root /etc/apache2/ /etc/php/8.1/ && \
chgrp -R 0 /etc/apache2/ /etc/php/8.1/ && \
chmod -R g=u /etc/apache2/ /etc/php/8.1/ && \
chown --quiet -R zabbix:root /etc/apache2/ /etc/php/8.3/ && \
chgrp -R 0 /etc/apache2/ /etc/php/8.3/ && \
chmod -R g=u /etc/apache2/ /etc/php/8.3/ && \
apt-get -y autoremove && \
apt-get -y clean

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
export APACHE_RUN_USER=zabbix
export APACHE_RUN_GROUP=zabbix
export APACHE_PID_FILE=/tmp/apache2.pid
export APACHE_RUN_DIR=/tmp
2 changes: 2 additions & 0 deletions Dockerfiles/web-apache-pgsql/ubuntu/docker-entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,8 @@ check_db_connect() {
prepare_web_server() {
APACHE_SITES_DIR="/etc/apache2/sites-enabled"

ln -sfT "$ZABBIX_ETC_DIR/apache_envvars" "/etc/apache2/envvars"

echo "** Adding Zabbix virtual host (HTTP)"
if [ -f "$ZABBIX_ETC_DIR/apache.conf" ]; then
ln -sfT "$ZABBIX_ETC_DIR/apache.conf" "$APACHE_SITES_DIR/zabbix.conf"
Expand Down
2 changes: 1 addition & 1 deletion Dockerfiles/web-nginx-mysql/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.19, Ubuntu 22.04 (jammy), CentOS Stream 9 and Oracle Linux 9 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.19, Ubuntu 24.04 (noble), CentOS Stream 9 and Oracle Linux 9 images. The available versions of Zabbix web interface are:

Zabbix web interface 5.0 (tags: alpine-5.0-latest, ubuntu-5.0-latest, ol-5.0-latest)
Zabbix web interface 5.0.* (tags: alpine-5.0.*, ubuntu-5.0.*, ol-5.0.*)
Expand Down
Loading

0 comments on commit 599e7ab

Please sign in to comment.