mirror of
https://github.com/zabbix/zabbix-docker.git
synced 2025-08-09 00:24:58 +02:00
Updated OL from 8 to 9 version
This commit is contained in:
@ -5,7 +5,7 @@ ARG BUILD_BASE_IMAGE=zabbix-build-sqlite3:ol-${ZBX_VERSION}
|
||||
|
||||
FROM ${BUILD_BASE_IMAGE} as builder
|
||||
|
||||
FROM oraclelinux:8-slim
|
||||
FROM oraclelinux:9-slim
|
||||
|
||||
ARG MAJOR_VERSION
|
||||
ARG ZBX_VERSION
|
||||
@ -31,7 +31,7 @@ COPY --from=builder ["/tmp/zabbix-${ZBX_VERSION}/src/zabbix_proxy/zabbix_proxy",
|
||||
COPY --from=builder ["/tmp/zabbix-${ZBX_VERSION}/src/zabbix_get/zabbix_get", "/usr/bin/zabbix_get"]
|
||||
COPY --from=builder ["/tmp/zabbix-${ZBX_VERSION}/src/zabbix_sender/zabbix_sender", "/usr/bin/zabbix_sender"]
|
||||
COPY --from=builder ["/tmp/zabbix-${ZBX_VERSION}/conf/zabbix_proxy.conf", "/etc/zabbix/zabbix_proxy.conf"]
|
||||
COPY ["conf/etc/yum.repos.d/oracle-epel-ol8.repo", "/etc/yum.repos.d/oracle-epel-ol8.repo"]
|
||||
COPY ["conf/etc/yum.repos.d/oracle-epel-ol9.repo", "/etc/yum.repos.d/oracle-epel-ol9.repo"]
|
||||
|
||||
RUN set -eux && \
|
||||
INSTALL_PKGS="libevent \
|
||||
@ -53,9 +53,9 @@ RUN set -eux && \
|
||||
unixODBC" && \
|
||||
microdnf -y install \
|
||||
--disablerepo="*" \
|
||||
--enablerepo="ol8_baseos_latest" \
|
||||
--enablerepo="ol8_appstream" \
|
||||
--enablerepo="ol8_developer_EPEL" \
|
||||
--enablerepo="ol9_baseos_latest" \
|
||||
--enablerepo="ol9_appstream" \
|
||||
--enablerepo="ol9_developer_EPEL" \
|
||||
--setopt=install_weak_deps=0 \
|
||||
--best \
|
||||
--nodocs \
|
||||
|
@ -1,6 +1,6 @@
|
||||
[ol8_developer_EPEL]
|
||||
[ol9_developer_EPEL]
|
||||
name=Oracle Linux $releasever EPEL Packages for Development ($basearch)
|
||||
baseurl=https://yum$ociregion.$ocidomain/repo/OracleLinux/OL8/developer/EPEL/$basearch/
|
||||
baseurl=https://yum$ociregion.$ocidomain/repo/OracleLinux/OL9/developer/EPEL/$basearch/
|
||||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
|
||||
gpgcheck=1
|
||||
enabled=0
|
Reference in New Issue
Block a user