mirror of
https://github.com/zabbix/zabbix-docker.git
synced 2025-06-30 14:51:11 +02:00
Ubuntu images use Ubuntu 22.04 version
This commit is contained in:
@ -5,7 +5,7 @@ ARG BUILD_BASE_IMAGE=zabbix-build-mysql:ubuntu-${ZBX_VERSION}
|
||||
|
||||
FROM ${BUILD_BASE_IMAGE} as builder
|
||||
|
||||
FROM ubuntu:focal
|
||||
FROM ubuntu:jammy
|
||||
|
||||
ARG MAJOR_VERSION
|
||||
ARG ZBX_VERSION
|
||||
@ -38,13 +38,12 @@ RUN set -eux && \
|
||||
ca-certificates \
|
||||
mysql-client \
|
||||
locales \
|
||||
php7.4-bcmath \
|
||||
php7.4-gd \
|
||||
php7.4-json \
|
||||
php7.4-ldap \
|
||||
php7.4-mbstring \
|
||||
php7.4-mysql \
|
||||
php7.4-xml" && \
|
||||
php8.1-bcmath \
|
||||
php8.1-gd \
|
||||
php8.1-ldap \
|
||||
php8.1-mbstring \
|
||||
php8.1-mysql \
|
||||
php8.1-xml" && \
|
||||
apt-get -y update && \
|
||||
DEBIAN_FRONTEND=noninteractive apt-get -y \
|
||||
--no-install-recommends install \
|
||||
@ -97,9 +96,9 @@ RUN set -eux && \
|
||||
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/7.4/ && \
|
||||
chgrp -R 0 /etc/apache2/ /etc/php/7.4/ && \
|
||||
chmod -R g=u /etc/apache2/ /etc/php/7.4/ && \
|
||||
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/ && \
|
||||
apt-get -y autoremove && \
|
||||
apt-get -y clean && \
|
||||
rm -rf /var/lib/apt/lists/*
|
||||
|
Reference in New Issue
Block a user