Revert "Updated CentOS 9 to CentOS 10 Stream"

This reverts commit f0feafafc1.
This commit is contained in:
Alexey Pustovalov
2025-02-18 15:32:19 +09:00
parent f0feafafc1
commit e678ca156f
18 changed files with 73 additions and 70 deletions

View File

@@ -1,5 +1,5 @@
# syntax=docker/dockerfile:1
ARG OS_BASE_IMAGE=quay.io/centos/centos:stream10-minimal
ARG OS_BASE_IMAGE=quay.io/centos/centos:stream9-minimal
ARG MAJOR_VERSION=7.4
ARG ZBX_VERSION=${MAJOR_VERSION}
ARG BUILD_BASE_IMAGE=zabbix-build-sqlite3:centos-${ZBX_VERSION}
@@ -70,8 +70,6 @@ RUN --mount=type=tmpfs,target=/var/lib/dnf/ \
--setopt=keepcache=0 \
--best \
--nodocs epel-release && \
sed -i 's/$releasever_major${releasever_minor:+.$releasever_minor}/$releasever/g' /etc/yum.repos.d/epel*.repo && \
sed -i 's/$releasever_major/$releasever/g' /etc/yum.repos.d/epel*.repo && \
microdnf -y install \
--disablerepo "*" \
--enablerepo "baseos" \