Updated Oracle Linux 9 to 10

This commit is contained in:
Alexey Pustovalov
2025-07-04 10:37:03 +03:00
parent 24eec860fd
commit d6f0ef5997
42 changed files with 168 additions and 201 deletions

View File

@ -1,5 +1,5 @@
# syntax=docker/dockerfile:1
ARG OS_BASE_IMAGE=oraclelinux:9-slim
ARG OS_BASE_IMAGE=container-registry.oracle.com/os/oraclelinux:10-slim
ARG MAJOR_VERSION=7.4
ARG ZBX_VERSION=${MAJOR_VERSION}.0
ARG BUILD_BASE_IMAGE=zabbix-build-mysql:ol-${ZBX_VERSION}
@ -35,12 +35,12 @@ RUN --mount=type=tmpfs,target=/var/lib/dnf/ \
--mount=type=tmpfs,target=/var/cache/yum/ \
set -eux && \
INSTALL_PKGS="bash \
java-17-openjdk-headless \
java-21-openjdk-headless \
findutils" && \
microdnf -y install \
--disablerepo="*" \
--enablerepo="ol9_baseos_latest" \
--enablerepo="ol9_appstream" \
--enablerepo="ol10_baseos_latest" \
--enablerepo="ol10_appstream" \
--setopt=install_weak_deps=0 \
--setopt=keepcache=0 \
--best \