mirror of
https://github.com/zabbix/zabbix-docker.git
synced 2025-08-15 11:12:35 +02:00
Updated CentOS Stream to 10 version from 9
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
# syntax=docker/dockerfile:1
|
||||
ARG OS_BASE_IMAGE=quay.io/centos/centos:stream9-minimal
|
||||
ARG OS_BASE_IMAGE=quay.io/centos/centos:stream10-minimal
|
||||
ARG MAJOR_VERSION=7.4
|
||||
ARG ZBX_VERSION=${MAJOR_VERSION}
|
||||
ARG BUILD_BASE_IMAGE=zabbix-build-pgsql:centos-${ZBX_VERSION}
|
||||
@ -80,12 +80,6 @@ RUN --mount=type=tmpfs,target=/var/lib/dnf/ \
|
||||
--setopt=keepcache=0 \
|
||||
--best \
|
||||
--nodocs epel-release && \
|
||||
microdnf -y module enable \
|
||||
--disablerepo "*" \
|
||||
--enablerepo "appstream" \
|
||||
--setopt=install_weak_deps=0 \
|
||||
--setopt=keepcache=0 \
|
||||
postgresql:16 && \
|
||||
microdnf -y install \
|
||||
--disablerepo "*" \
|
||||
--enablerepo "baseos" \
|
||||
@ -103,7 +97,7 @@ RUN --mount=type=tmpfs,target=/var/lib/dnf/ \
|
||||
--setopt=tsflags=nodocs \
|
||||
tzdata && \
|
||||
microdnf download libcurl && \
|
||||
rpm -Uvh --nodeps --replacefiles "*curl*$( uname -i ).rpm" && \
|
||||
rpm -Uvh --nodeps --replacefiles "*curl*$( uname -m ).rpm" && \
|
||||
microdnf remove -y libcurl-minimal && \
|
||||
rm -rf "*curl*$( uname -i ).rpm" && \
|
||||
groupadd \
|
||||
|
Reference in New Issue
Block a user