Updated CentOS from stream8 to stream9

This commit is contained in:
Alexey Pustovalov
2023-02-01 15:20:30 +09:00
parent b40f47f7f7
commit 9d1218115c
16 changed files with 47 additions and 56 deletions

View File

@ -5,7 +5,7 @@ ARG BUILD_BASE_IMAGE=zabbix-build-mysql:centos-${ZBX_VERSION}
FROM ${BUILD_BASE_IMAGE} as builder
FROM quay.io/centos/centos:stream8
FROM quay.io/centos/centos:stream9
ARG MAJOR_VERSION
ARG ZBX_VERSION
@ -32,7 +32,7 @@ COPY ["conf/etc/", "/etc/"]
RUN set -eux && \
REPOLIST="baseos,appstream,epel" && \
INSTALL_PKGS="bash \
curl \
curl-minimal \
httpd \
mysql \
mod_ssl \
@ -49,8 +49,6 @@ RUN set -eux && \
glibc-locale-source \
supervisor" && \
dnf -y install epel-release && \
dnf -y module enable mysql && \
dnf -y module enable php:8.0 && \
dnf -y install \
--disablerepo "*" \
--enablerepo "${REPOLIST}" \