mirror of
https://github.com/zabbix/zabbix-docker.git
synced 2025-02-12 07:50:04 +01:00
Updated OL from 8 to 9 version
This commit is contained in:
parent
845835dce8
commit
aff82c4c82
2
.env
2
.env
@ -71,7 +71,7 @@ RESTART_POLICY=unless-stopped
|
|||||||
# Cache base images
|
# Cache base images
|
||||||
ALPINE_CACHE_FROM=alpine:3.21
|
ALPINE_CACHE_FROM=alpine:3.21
|
||||||
CENTOS_CACHE_FROM=quay.io/centos/centos:stream9-slim
|
CENTOS_CACHE_FROM=quay.io/centos/centos:stream9-slim
|
||||||
OL_CACHE_FROM=oraclelinux:8-slim
|
OL_CACHE_FROM=oraclelinux:9-slim
|
||||||
UBUNTU_CACHE_FROM=ubuntu:jammy
|
UBUNTU_CACHE_FROM=ubuntu:jammy
|
||||||
RHEL_CACHE_FROM=registry.access.redhat.com/ubi8/ubi-minimal:8.10
|
RHEL_CACHE_FROM=registry.access.redhat.com/ubi8/ubi-minimal:8.10
|
||||||
|
|
||||||
|
@ -5,7 +5,7 @@ ARG BUILD_BASE_IMAGE=zabbix-build-mysql:ol-${ZBX_VERSION}
|
|||||||
|
|
||||||
FROM ${BUILD_BASE_IMAGE} AS builder
|
FROM ${BUILD_BASE_IMAGE} AS builder
|
||||||
|
|
||||||
FROM oraclelinux:8-slim
|
FROM oraclelinux:9-slim
|
||||||
|
|
||||||
ARG MAJOR_VERSION
|
ARG MAJOR_VERSION
|
||||||
ARG ZBX_VERSION
|
ARG ZBX_VERSION
|
||||||
@ -29,7 +29,7 @@ STOPSIGNAL SIGTERM
|
|||||||
COPY --from=builder ["/tmp/zabbix-${ZBX_VERSION}-output/agent/sbin/zabbix_agentd", "/usr/sbin/zabbix_agentd"]
|
COPY --from=builder ["/tmp/zabbix-${ZBX_VERSION}-output/agent/sbin/zabbix_agentd", "/usr/sbin/zabbix_agentd"]
|
||||||
COPY --from=builder ["/tmp/zabbix-${ZBX_VERSION}-output/general/bin/*", "/usr/bin/"]
|
COPY --from=builder ["/tmp/zabbix-${ZBX_VERSION}-output/general/bin/*", "/usr/bin/"]
|
||||||
COPY --from=builder ["/tmp/zabbix-${ZBX_VERSION}-output/agent/conf/", "/etc/zabbix/"]
|
COPY --from=builder ["/tmp/zabbix-${ZBX_VERSION}-output/agent/conf/", "/etc/zabbix/"]
|
||||||
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 --mount=type=tmpfs,target=/var/lib/dnf/ \
|
RUN --mount=type=tmpfs,target=/var/lib/dnf/ \
|
||||||
set -eux && \
|
set -eux && \
|
||||||
@ -44,9 +44,9 @@ RUN --mount=type=tmpfs,target=/var/lib/dnf/ \
|
|||||||
zlib" && \
|
zlib" && \
|
||||||
microdnf -y install \
|
microdnf -y install \
|
||||||
--disablerepo="*" \
|
--disablerepo="*" \
|
||||||
--enablerepo="ol8_baseos_latest" \
|
--enablerepo="ol9_baseos_latest" \
|
||||||
--enablerepo="ol8_appstream" \
|
--enablerepo="ol9_appstream" \
|
||||||
--enablerepo="ol8_developer_EPEL" \
|
--enablerepo="ol9_developer_EPEL" \
|
||||||
--setopt=install_weak_deps=0 \
|
--setopt=install_weak_deps=0 \
|
||||||
--setopt=keepcache=0 \
|
--setopt=keepcache=0 \
|
||||||
--best \
|
--best \
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
[ol8_developer_EPEL]
|
[ol9_developer_EPEL]
|
||||||
name=Oracle Linux $releasever EPEL Packages for Development ($basearch)
|
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
|
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
|
||||||
gpgcheck=1
|
gpgcheck=1
|
||||||
enabled=0
|
enabled=0
|
@ -5,7 +5,7 @@ ARG BUILD_BASE_IMAGE=zabbix-build-mysql:ol-${ZBX_VERSION}
|
|||||||
|
|
||||||
FROM ${BUILD_BASE_IMAGE} AS builder
|
FROM ${BUILD_BASE_IMAGE} AS builder
|
||||||
|
|
||||||
FROM oraclelinux:8-slim
|
FROM oraclelinux:9-slim
|
||||||
|
|
||||||
ARG MAJOR_VERSION
|
ARG MAJOR_VERSION
|
||||||
ARG ZBX_VERSION
|
ARG ZBX_VERSION
|
||||||
@ -29,7 +29,7 @@ STOPSIGNAL SIGTERM
|
|||||||
COPY --from=builder ["/tmp/zabbix-${ZBX_VERSION}-output/agent2/sbin/", "/usr/sbin/"]
|
COPY --from=builder ["/tmp/zabbix-${ZBX_VERSION}-output/agent2/sbin/", "/usr/sbin/"]
|
||||||
COPY --from=builder ["/tmp/zabbix-${ZBX_VERSION}-output/general/bin/*", "/usr/bin/"]
|
COPY --from=builder ["/tmp/zabbix-${ZBX_VERSION}-output/general/bin/*", "/usr/bin/"]
|
||||||
COPY --from=builder ["/tmp/zabbix-${ZBX_VERSION}-output/agent2/conf/", "/etc/zabbix/"]
|
COPY --from=builder ["/tmp/zabbix-${ZBX_VERSION}-output/agent2/conf/", "/etc/zabbix/"]
|
||||||
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 --mount=type=tmpfs,target=/var/lib/dnf/ \
|
RUN --mount=type=tmpfs,target=/var/lib/dnf/ \
|
||||||
set -eux && \
|
set -eux && \
|
||||||
@ -44,9 +44,9 @@ RUN --mount=type=tmpfs,target=/var/lib/dnf/ \
|
|||||||
openssl-libs" && \
|
openssl-libs" && \
|
||||||
microdnf -y install \
|
microdnf -y install \
|
||||||
--disablerepo="*" \
|
--disablerepo="*" \
|
||||||
--enablerepo="ol8_baseos_latest" \
|
--enablerepo="ol9_baseos_latest" \
|
||||||
--enablerepo="ol8_appstream" \
|
--enablerepo="ol9_appstream" \
|
||||||
--enablerepo="ol8_developer_EPEL" \
|
--enablerepo="ol9_developer_EPEL" \
|
||||||
--setopt=install_weak_deps=0 \
|
--setopt=install_weak_deps=0 \
|
||||||
--setopt=keepcache=0 \
|
--setopt=keepcache=0 \
|
||||||
--best \
|
--best \
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
[ol8_developer_EPEL]
|
[ol9_developer_EPEL]
|
||||||
name=Oracle Linux $releasever EPEL Packages for Development ($basearch)
|
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
|
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
|
||||||
gpgcheck=1
|
gpgcheck=1
|
||||||
enabled=0
|
enabled=0
|
@ -1,5 +1,5 @@
|
|||||||
# syntax=docker/dockerfile:1
|
# syntax=docker/dockerfile:1
|
||||||
FROM oraclelinux:8-slim
|
FROM oraclelinux:9-slim
|
||||||
|
|
||||||
ARG MAJOR_VERSION=6.0
|
ARG MAJOR_VERSION=6.0
|
||||||
ARG ZBX_VERSION=${MAJOR_VERSION}.36
|
ARG ZBX_VERSION=${MAJOR_VERSION}.36
|
||||||
@ -17,7 +17,7 @@ LABEL org.opencontainers.image.authors="Alexey Pustovalov <alexey.pustovalov@zab
|
|||||||
org.opencontainers.image.vendor="Zabbix SIA" \
|
org.opencontainers.image.vendor="Zabbix SIA" \
|
||||||
org.opencontainers.image.version="${ZBX_VERSION}"
|
org.opencontainers.image.version="${ZBX_VERSION}"
|
||||||
|
|
||||||
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 --mount=type=tmpfs,target=/var/lib/dnf/ \
|
RUN --mount=type=tmpfs,target=/var/lib/dnf/ \
|
||||||
set -eux && \
|
set -eux && \
|
||||||
@ -43,23 +43,23 @@ RUN --mount=type=tmpfs,target=/var/lib/dnf/ \
|
|||||||
sqlite-devel \
|
sqlite-devel \
|
||||||
postgresql-private-devel \
|
postgresql-private-devel \
|
||||||
postgresql-server-devel \
|
postgresql-server-devel \
|
||||||
java-17-openjdk-devel \
|
java-1.8.0-openjdk-devel \
|
||||||
git \
|
git \
|
||||||
gettext \
|
gettext \
|
||||||
unixODBC-devel \
|
unixODBC-devel \
|
||||||
zlib-devel" && \
|
zlib-devel" && \
|
||||||
microdnf -y module enable \
|
microdnf -y module enable \
|
||||||
--disablerepo "*" \
|
--disablerepo "*" \
|
||||||
--enablerepo "ol8_appstream" \
|
--enablerepo "ol9_appstream" \
|
||||||
--setopt=install_weak_deps=0 \
|
--setopt=install_weak_deps=0 \
|
||||||
--setopt=keepcache=0 \
|
--setopt=keepcache=0 \
|
||||||
postgresql:16 mysql && \
|
postgresql:16 && \
|
||||||
microdnf -y install \
|
microdnf -y install \
|
||||||
--disablerepo "*" \
|
--disablerepo "*" \
|
||||||
--enablerepo "ol8_baseos_latest" \
|
--enablerepo "ol9_baseos_latest" \
|
||||||
--enablerepo "ol8_appstream" \
|
--enablerepo "ol9_appstream" \
|
||||||
--enablerepo "ol8_codeready_builder" \
|
--enablerepo "ol9_codeready_builder" \
|
||||||
--enablerepo="ol8_developer_EPEL" \
|
--enablerepo="ol9_developer_EPEL" \
|
||||||
--setopt=install_weak_deps=0 \
|
--setopt=install_weak_deps=0 \
|
||||||
--setopt=keepcache=0 \
|
--setopt=keepcache=0 \
|
||||||
--best \
|
--best \
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
[ol8_developer_EPEL]
|
[ol9_developer_EPEL]
|
||||||
name=Oracle Linux $releasever EPEL Packages for Development ($basearch)
|
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
|
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
|
||||||
gpgcheck=1
|
gpgcheck=1
|
||||||
enabled=0
|
enabled=0
|
@ -5,7 +5,7 @@ ARG BUILD_BASE_IMAGE=zabbix-build-mysql:ol-${ZBX_VERSION}
|
|||||||
|
|
||||||
FROM ${BUILD_BASE_IMAGE} AS builder
|
FROM ${BUILD_BASE_IMAGE} AS builder
|
||||||
|
|
||||||
FROM oraclelinux:8-slim
|
FROM oraclelinux:9-slim
|
||||||
|
|
||||||
ARG MAJOR_VERSION
|
ARG MAJOR_VERSION
|
||||||
ARG ZBX_VERSION
|
ARG ZBX_VERSION
|
||||||
@ -35,8 +35,8 @@ RUN --mount=type=tmpfs,target=/var/lib/dnf/ \
|
|||||||
findutils" && \
|
findutils" && \
|
||||||
microdnf -y install \
|
microdnf -y install \
|
||||||
--disablerepo="*" \
|
--disablerepo="*" \
|
||||||
--enablerepo="ol8_baseos_latest" \
|
--enablerepo="ol9_baseos_latest" \
|
||||||
--enablerepo="ol8_appstream" \
|
--enablerepo="ol9_appstream" \
|
||||||
--setopt=install_weak_deps=0 \
|
--setopt=install_weak_deps=0 \
|
||||||
--setopt=keepcache=0 \
|
--setopt=keepcache=0 \
|
||||||
--best \
|
--best \
|
||||||
|
@ -5,7 +5,7 @@ ARG BUILD_BASE_IMAGE=zabbix-build-mysql:ol-${ZBX_VERSION}
|
|||||||
|
|
||||||
FROM ${BUILD_BASE_IMAGE} AS builder
|
FROM ${BUILD_BASE_IMAGE} AS builder
|
||||||
|
|
||||||
FROM oraclelinux:8-slim
|
FROM oraclelinux:9-slim
|
||||||
|
|
||||||
ARG MAJOR_VERSION
|
ARG MAJOR_VERSION
|
||||||
ARG ZBX_VERSION
|
ARG ZBX_VERSION
|
||||||
@ -32,7 +32,7 @@ COPY --from=builder ["/tmp/zabbix-${ZBX_VERSION}-output/proxy/sbin/zabbix_proxy"
|
|||||||
COPY --from=builder ["/tmp/zabbix-${ZBX_VERSION}-output/general/bin/*", "/usr/bin/"]
|
COPY --from=builder ["/tmp/zabbix-${ZBX_VERSION}-output/general/bin/*", "/usr/bin/"]
|
||||||
COPY --from=builder ["/tmp/zabbix-${ZBX_VERSION}-output/proxy/conf/", "/etc/zabbix/"]
|
COPY --from=builder ["/tmp/zabbix-${ZBX_VERSION}-output/proxy/conf/", "/etc/zabbix/"]
|
||||||
COPY --from=builder ["/tmp/zabbix-${ZBX_VERSION}-output/proxy/database/mysql/", "/usr/share/doc/zabbix-proxy-mysql/"]
|
COPY --from=builder ["/tmp/zabbix-${ZBX_VERSION}-output/proxy/database/mysql/", "/usr/share/doc/zabbix-proxy-mysql/"]
|
||||||
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 --mount=type=tmpfs,target=/var/lib/dnf/ \
|
RUN --mount=type=tmpfs,target=/var/lib/dnf/ \
|
||||||
set -eux && \
|
set -eux && \
|
||||||
@ -53,12 +53,12 @@ RUN --mount=type=tmpfs,target=/var/lib/dnf/ \
|
|||||||
pcre2 \
|
pcre2 \
|
||||||
zlib \
|
zlib \
|
||||||
unixODBC" && \
|
unixODBC" && \
|
||||||
microdnf -y module enable mysql && \
|
|
||||||
microdnf -y install \
|
microdnf -y install \
|
||||||
--disablerepo="*" \
|
--disablerepo="*" \
|
||||||
--enablerepo="ol8_baseos_latest" \
|
--enablerepo="ol9_baseos_latest" \
|
||||||
--enablerepo="ol8_appstream" \
|
--enablerepo="ol9_appstream" \
|
||||||
--enablerepo="ol8_developer_EPEL" \
|
--enablerepo="ol9_codeready_builder" \
|
||||||
|
--enablerepo="ol9_developer_EPEL" \
|
||||||
--setopt=install_weak_deps=0 \
|
--setopt=install_weak_deps=0 \
|
||||||
--setopt=keepcache=0 \
|
--setopt=keepcache=0 \
|
||||||
--best \
|
--best \
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
[ol8_developer_EPEL]
|
[ol9_developer_EPEL]
|
||||||
name=Oracle Linux $releasever EPEL Packages for Development ($basearch)
|
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
|
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
|
||||||
gpgcheck=1
|
gpgcheck=1
|
||||||
enabled=0
|
enabled=0
|
@ -5,7 +5,7 @@ ARG BUILD_BASE_IMAGE=zabbix-build-sqlite3:ol-${ZBX_VERSION}
|
|||||||
|
|
||||||
FROM ${BUILD_BASE_IMAGE} AS builder
|
FROM ${BUILD_BASE_IMAGE} AS builder
|
||||||
|
|
||||||
FROM oraclelinux:8-slim
|
FROM oraclelinux:9-slim
|
||||||
|
|
||||||
ARG MAJOR_VERSION
|
ARG MAJOR_VERSION
|
||||||
ARG ZBX_VERSION
|
ARG ZBX_VERSION
|
||||||
@ -31,7 +31,7 @@ STOPSIGNAL SIGTERM
|
|||||||
COPY --from=builder ["/tmp/zabbix-${ZBX_VERSION}-output/proxy/sbin/zabbix_proxy", "/usr/sbin/zabbix_proxy"]
|
COPY --from=builder ["/tmp/zabbix-${ZBX_VERSION}-output/proxy/sbin/zabbix_proxy", "/usr/sbin/zabbix_proxy"]
|
||||||
COPY --from=builder ["/tmp/zabbix-${ZBX_VERSION}-output/proxy/conf/", "/etc/zabbix/"]
|
COPY --from=builder ["/tmp/zabbix-${ZBX_VERSION}-output/proxy/conf/", "/etc/zabbix/"]
|
||||||
COPY --from=builder ["/tmp/zabbix-${ZBX_VERSION}-output/general/bin/", "/usr/bin/"]
|
COPY --from=builder ["/tmp/zabbix-${ZBX_VERSION}-output/general/bin/", "/usr/bin/"]
|
||||||
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 --mount=type=tmpfs,target=/var/lib/dnf/ \
|
RUN --mount=type=tmpfs,target=/var/lib/dnf/ \
|
||||||
set -eux && \
|
set -eux && \
|
||||||
@ -52,9 +52,9 @@ RUN --mount=type=tmpfs,target=/var/lib/dnf/ \
|
|||||||
unixODBC" && \
|
unixODBC" && \
|
||||||
microdnf -y install \
|
microdnf -y install \
|
||||||
--disablerepo="*" \
|
--disablerepo="*" \
|
||||||
--enablerepo="ol8_baseos_latest" \
|
--enablerepo="ol9_baseos_latest" \
|
||||||
--enablerepo="ol8_appstream" \
|
--enablerepo="ol9_appstream" \
|
||||||
--enablerepo="ol8_developer_EPEL" \
|
--enablerepo="ol9_developer_EPEL" \
|
||||||
--setopt=install_weak_deps=0 \
|
--setopt=install_weak_deps=0 \
|
||||||
--setopt=keepcache=0 \
|
--setopt=keepcache=0 \
|
||||||
--best \
|
--best \
|
||||||
|
@ -1,6 +0,0 @@
|
|||||||
[ol8_developer_EPEL]
|
|
||||||
name=Oracle Linux $releasever EPEL Packages for Development ($basearch)
|
|
||||||
baseurl=https://yum$ociregion.$ocidomain/repo/OracleLinux/OL8/developer/EPEL/$basearch/
|
|
||||||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
|
|
||||||
gpgcheck=1
|
|
||||||
enabled=0
|
|
@ -0,0 +1,6 @@
|
|||||||
|
[ol9_developer_EPEL]
|
||||||
|
name=Oracle Linux $releasever EPEL Packages for Development ($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
|
@ -5,7 +5,7 @@ ARG BUILD_BASE_IMAGE=zabbix-build-mysql:ol-${ZBX_VERSION}
|
|||||||
|
|
||||||
FROM ${BUILD_BASE_IMAGE} AS builder
|
FROM ${BUILD_BASE_IMAGE} AS builder
|
||||||
|
|
||||||
FROM oraclelinux:8-slim
|
FROM oraclelinux:9-slim
|
||||||
|
|
||||||
ARG MAJOR_VERSION
|
ARG MAJOR_VERSION
|
||||||
ARG ZBX_VERSION
|
ARG ZBX_VERSION
|
||||||
@ -32,7 +32,7 @@ COPY --from=builder ["/tmp/zabbix-${ZBX_VERSION}-output/server/sbin/zabbix_serve
|
|||||||
COPY --from=builder ["/tmp/zabbix-${ZBX_VERSION}-output/general/bin/*", "/usr/bin/"]
|
COPY --from=builder ["/tmp/zabbix-${ZBX_VERSION}-output/general/bin/*", "/usr/bin/"]
|
||||||
COPY --from=builder ["/tmp/zabbix-${ZBX_VERSION}-output/server/conf/", "/etc/zabbix/"]
|
COPY --from=builder ["/tmp/zabbix-${ZBX_VERSION}-output/server/conf/", "/etc/zabbix/"]
|
||||||
COPY --from=builder ["/tmp/zabbix-${ZBX_VERSION}-output/server/database/mysql/create.sql.gz", "/usr/share/doc/zabbix-server-mysql/create.sql.gz"]
|
COPY --from=builder ["/tmp/zabbix-${ZBX_VERSION}-output/server/database/mysql/create.sql.gz", "/usr/share/doc/zabbix-server-mysql/create.sql.gz"]
|
||||||
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 --mount=type=tmpfs,target=/var/lib/dnf/ \
|
RUN --mount=type=tmpfs,target=/var/lib/dnf/ \
|
||||||
set -eux && \
|
set -eux && \
|
||||||
@ -58,18 +58,12 @@ RUN --mount=type=tmpfs,target=/var/lib/dnf/ \
|
|||||||
pcre2 \
|
pcre2 \
|
||||||
zlib \
|
zlib \
|
||||||
unixODBC" && \
|
unixODBC" && \
|
||||||
microdnf -y module enable \
|
|
||||||
--disablerepo "*" \
|
|
||||||
--enablerepo "ol8_appstream" \
|
|
||||||
--setopt=install_weak_deps=0 \
|
|
||||||
--setopt=keepcache=0 \
|
|
||||||
--best \
|
|
||||||
--nodocs mysql && \
|
|
||||||
microdnf -y install \
|
microdnf -y install \
|
||||||
--disablerepo="*" \
|
--disablerepo="*" \
|
||||||
--enablerepo="ol8_baseos_latest" \
|
--enablerepo="ol9_baseos_latest" \
|
||||||
--enablerepo="ol8_appstream" \
|
--enablerepo="ol9_appstream" \
|
||||||
--enablerepo="ol8_developer_EPEL" \
|
--enablerepo="ol9_codeready_builder" \
|
||||||
|
--enablerepo="ol9_developer_EPEL" \
|
||||||
--setopt=install_weak_deps=0 \
|
--setopt=install_weak_deps=0 \
|
||||||
--setopt=keepcache=0 \
|
--setopt=keepcache=0 \
|
||||||
--best \
|
--best \
|
||||||
|
@ -1,6 +0,0 @@
|
|||||||
[ol8_developer_EPEL]
|
|
||||||
name=Oracle Linux $releasever EPEL Packages for Development ($basearch)
|
|
||||||
baseurl=https://yum$ociregion.$ocidomain/repo/OracleLinux/OL8/developer/EPEL/$basearch/
|
|
||||||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
|
|
||||||
gpgcheck=1
|
|
||||||
enabled=0
|
|
@ -0,0 +1,6 @@
|
|||||||
|
[ol9_developer_EPEL]
|
||||||
|
name=Oracle Linux $releasever EPEL Packages for Development ($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
|
@ -5,7 +5,7 @@ ARG BUILD_BASE_IMAGE=zabbix-build-pgsql:ol-${ZBX_VERSION}
|
|||||||
|
|
||||||
FROM ${BUILD_BASE_IMAGE} AS builder
|
FROM ${BUILD_BASE_IMAGE} AS builder
|
||||||
|
|
||||||
FROM oraclelinux:8-slim
|
FROM oraclelinux:9-slim
|
||||||
|
|
||||||
ARG MAJOR_VERSION
|
ARG MAJOR_VERSION
|
||||||
ARG ZBX_VERSION
|
ARG ZBX_VERSION
|
||||||
@ -32,7 +32,7 @@ COPY --from=builder ["/tmp/zabbix-${ZBX_VERSION}-output/server/sbin/zabbix_serve
|
|||||||
COPY --from=builder ["/tmp/zabbix-${ZBX_VERSION}-output/general/bin/*", "/usr/bin/"]
|
COPY --from=builder ["/tmp/zabbix-${ZBX_VERSION}-output/general/bin/*", "/usr/bin/"]
|
||||||
COPY --from=builder ["/tmp/zabbix-${ZBX_VERSION}-output/server/conf/", "/etc/zabbix/"]
|
COPY --from=builder ["/tmp/zabbix-${ZBX_VERSION}-output/server/conf/", "/etc/zabbix/"]
|
||||||
COPY --from=builder ["/tmp/zabbix-${ZBX_VERSION}-output/server/database/postgresql/", "/usr/share/doc/zabbix-server-postgresql/"]
|
COPY --from=builder ["/tmp/zabbix-${ZBX_VERSION}-output/server/database/postgresql/", "/usr/share/doc/zabbix-server-postgresql/"]
|
||||||
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 --mount=type=tmpfs,target=/var/lib/dnf/ \
|
RUN --mount=type=tmpfs,target=/var/lib/dnf/ \
|
||||||
set -eux && \
|
set -eux && \
|
||||||
@ -56,19 +56,20 @@ RUN --mount=type=tmpfs,target=/var/lib/dnf/ \
|
|||||||
postgresql \
|
postgresql \
|
||||||
postgresql-private-libs \
|
postgresql-private-libs \
|
||||||
zlib \
|
zlib \
|
||||||
|
gzip \
|
||||||
unixODBC" && \
|
unixODBC" && \
|
||||||
microdnf -y module enable \
|
microdnf -y module enable \
|
||||||
--disablerepo "*" \
|
--disablerepo "*" \
|
||||||
--enablerepo "ol8_baseos_latest" \
|
--enablerepo "ol9_baseos_latest" \
|
||||||
--enablerepo "ol8_appstream" \
|
--enablerepo "ol9_appstream" \
|
||||||
--setopt=install_weak_deps=0 \
|
--setopt=install_weak_deps=0 \
|
||||||
--setopt=keepcache=0 \
|
--setopt=keepcache=0 \
|
||||||
postgresql:16 && \
|
postgresql:16 && \
|
||||||
microdnf -y install \
|
microdnf -y install \
|
||||||
--disablerepo="*" \
|
--disablerepo="*" \
|
||||||
--enablerepo="ol8_baseos_latest" \
|
--enablerepo="ol9_baseos_latest" \
|
||||||
--enablerepo="ol8_appstream" \
|
--enablerepo="ol9_appstream" \
|
||||||
--enablerepo="ol8_developer_EPEL" \
|
--enablerepo="ol9_developer_EPEL" \
|
||||||
--setopt=install_weak_deps=0 \
|
--setopt=install_weak_deps=0 \
|
||||||
--setopt=keepcache=0 \
|
--setopt=keepcache=0 \
|
||||||
--best \
|
--best \
|
||||||
|
@ -1,6 +0,0 @@
|
|||||||
[ol8_developer_EPEL]
|
|
||||||
name=Oracle Linux $releasever EPEL Packages for Development ($basearch)
|
|
||||||
baseurl=https://yum$ociregion.$ocidomain/repo/OracleLinux/OL8/developer/EPEL/$basearch/
|
|
||||||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
|
|
||||||
gpgcheck=1
|
|
||||||
enabled=0
|
|
@ -0,0 +1,6 @@
|
|||||||
|
[ol9_developer_EPEL]
|
||||||
|
name=Oracle Linux $releasever EPEL Packages for Development ($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
|
@ -1,4 +1,4 @@
|
|||||||
FROM oraclelinux:8-slim
|
FROM oraclelinux:9-slim
|
||||||
|
|
||||||
ARG MAJOR_VERSION=6.0
|
ARG MAJOR_VERSION=6.0
|
||||||
ARG ZBX_VERSION=${MAJOR_VERSION}.36
|
ARG ZBX_VERSION=${MAJOR_VERSION}.36
|
||||||
@ -28,8 +28,8 @@ RUN --mount=type=tmpfs,target=/var/lib/dnf/ \
|
|||||||
net-snmp" && \
|
net-snmp" && \
|
||||||
microdnf -y install \
|
microdnf -y install \
|
||||||
--disablerepo="*" \
|
--disablerepo="*" \
|
||||||
--enablerepo="ol8_baseos_latest" \
|
--enablerepo="ol9_baseos_latest" \
|
||||||
--enablerepo="ol8_appstream" \
|
--enablerepo="ol9_appstream" \
|
||||||
--setopt=install_weak_deps=0 \
|
--setopt=install_weak_deps=0 \
|
||||||
--setopt=keepcache=0 \
|
--setopt=keepcache=0 \
|
||||||
--best \
|
--best \
|
||||||
|
@ -5,7 +5,7 @@ ARG BUILD_BASE_IMAGE=zabbix-build-mysql:ol-${ZBX_VERSION}
|
|||||||
|
|
||||||
FROM ${BUILD_BASE_IMAGE} AS builder
|
FROM ${BUILD_BASE_IMAGE} AS builder
|
||||||
|
|
||||||
FROM oraclelinux:8-slim
|
FROM oraclelinux:9-slim
|
||||||
|
|
||||||
ARG MAJOR_VERSION
|
ARG MAJOR_VERSION
|
||||||
ARG ZBX_VERSION
|
ARG ZBX_VERSION
|
||||||
@ -28,7 +28,7 @@ STOPSIGNAL SIGTERM
|
|||||||
|
|
||||||
COPY --from=builder ["/tmp/zabbix-${ZBX_VERSION}/ui", "/usr/share/zabbix"]
|
COPY --from=builder ["/tmp/zabbix-${ZBX_VERSION}/ui", "/usr/share/zabbix"]
|
||||||
COPY ["conf/etc/", "/etc/"]
|
COPY ["conf/etc/", "/etc/"]
|
||||||
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 --mount=type=tmpfs,target=/var/lib/dnf/ \
|
RUN --mount=type=tmpfs,target=/var/lib/dnf/ \
|
||||||
set -eux && \
|
set -eux && \
|
||||||
@ -50,17 +50,16 @@ RUN --mount=type=tmpfs,target=/var/lib/dnf/ \
|
|||||||
glibc-locale-source \
|
glibc-locale-source \
|
||||||
supervisor" && \
|
supervisor" && \
|
||||||
microdnf -y module enable \
|
microdnf -y module enable \
|
||||||
--disablerepo "*" \
|
--disablerepo "*" \
|
||||||
--enablerepo "ol8_appstream" \
|
--enablerepo "ol9_appstream" \
|
||||||
--setopt=install_weak_deps=0 \
|
--setopt=install_weak_deps=0 \
|
||||||
--setopt=keepcache=0 \
|
--setopt=keepcache=0 \
|
||||||
--best \
|
php:8.2 && \
|
||||||
--nodocs mysql php:8.2 && \
|
|
||||||
microdnf -y install \
|
microdnf -y install \
|
||||||
--disablerepo="*" \
|
--disablerepo="*" \
|
||||||
--enablerepo="ol8_baseos_latest" \
|
--enablerepo="ol9_baseos_latest" \
|
||||||
--enablerepo="ol8_appstream" \
|
--enablerepo="ol9_appstream" \
|
||||||
--enablerepo="ol8_developer_EPEL" \
|
--enablerepo="ol9_developer_EPEL" \
|
||||||
--setopt=install_weak_deps=0 \
|
--setopt=install_weak_deps=0 \
|
||||||
--setopt=keepcache=0 \
|
--setopt=keepcache=0 \
|
||||||
--best \
|
--best \
|
||||||
|
@ -1,6 +0,0 @@
|
|||||||
[ol8_developer_EPEL]
|
|
||||||
name=Oracle Linux $releasever EPEL Packages for Development ($basearch)
|
|
||||||
baseurl=https://yum$ociregion.$ocidomain/repo/OracleLinux/OL8/developer/EPEL/$basearch/
|
|
||||||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
|
|
||||||
gpgcheck=1
|
|
||||||
enabled=0
|
|
@ -0,0 +1,6 @@
|
|||||||
|
[ol9_developer_EPEL]
|
||||||
|
name=Oracle Linux $releasever EPEL Packages for Development ($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
|
@ -5,7 +5,7 @@ ARG BUILD_BASE_IMAGE=zabbix-build-mysql:ol-${ZBX_VERSION}
|
|||||||
|
|
||||||
FROM ${BUILD_BASE_IMAGE} AS builder
|
FROM ${BUILD_BASE_IMAGE} AS builder
|
||||||
|
|
||||||
FROM oraclelinux:8-slim
|
FROM oraclelinux:9-slim
|
||||||
|
|
||||||
ARG MAJOR_VERSION
|
ARG MAJOR_VERSION
|
||||||
ARG ZBX_VERSION
|
ARG ZBX_VERSION
|
||||||
@ -28,7 +28,7 @@ STOPSIGNAL SIGTERM
|
|||||||
|
|
||||||
COPY --from=builder ["/tmp/zabbix-${ZBX_VERSION}/ui", "/usr/share/zabbix"]
|
COPY --from=builder ["/tmp/zabbix-${ZBX_VERSION}/ui", "/usr/share/zabbix"]
|
||||||
COPY ["conf/etc/", "/etc/"]
|
COPY ["conf/etc/", "/etc/"]
|
||||||
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 --mount=type=tmpfs,target=/var/lib/dnf/ \
|
RUN --mount=type=tmpfs,target=/var/lib/dnf/ \
|
||||||
set -eux && \
|
set -eux && \
|
||||||
@ -51,16 +51,16 @@ RUN --mount=type=tmpfs,target=/var/lib/dnf/ \
|
|||||||
supervisor" && \
|
supervisor" && \
|
||||||
microdnf -y module enable \
|
microdnf -y module enable \
|
||||||
--disablerepo "*" \
|
--disablerepo "*" \
|
||||||
--enablerepo "ol8_baseos_latest" \
|
--enablerepo "ol9_appstream" \
|
||||||
--enablerepo "ol8_appstream" \
|
|
||||||
--setopt=install_weak_deps=0 \
|
--setopt=install_weak_deps=0 \
|
||||||
--setopt=keepcache=0 \
|
--setopt=keepcache=0 \
|
||||||
postgresql:16 php:8.2 && \
|
php:8.2 \
|
||||||
|
postgresql:16 && \
|
||||||
microdnf -y install \
|
microdnf -y install \
|
||||||
--disablerepo="*" \
|
--disablerepo="*" \
|
||||||
--enablerepo="ol8_baseos_latest" \
|
--enablerepo="ol9_baseos_latest" \
|
||||||
--enablerepo="ol8_appstream" \
|
--enablerepo="ol9_appstream" \
|
||||||
--enablerepo="ol8_developer_EPEL" \
|
--enablerepo="ol9_developer_EPEL" \
|
||||||
--setopt=install_weak_deps=0 \
|
--setopt=install_weak_deps=0 \
|
||||||
--setopt=keepcache=0 \
|
--setopt=keepcache=0 \
|
||||||
--best \
|
--best \
|
||||||
|
@ -1,6 +0,0 @@
|
|||||||
[ol8_developer_EPEL]
|
|
||||||
name=Oracle Linux $releasever EPEL Packages for Development ($basearch)
|
|
||||||
baseurl=https://yum$ociregion.$ocidomain/repo/OracleLinux/OL8/developer/EPEL/$basearch/
|
|
||||||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
|
|
||||||
gpgcheck=1
|
|
||||||
enabled=0
|
|
@ -0,0 +1,6 @@
|
|||||||
|
[ol9_developer_EPEL]
|
||||||
|
name=Oracle Linux $releasever EPEL Packages for Development ($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
|
@ -5,7 +5,7 @@ ARG BUILD_BASE_IMAGE=zabbix-build-mysql:ol-${ZBX_VERSION}
|
|||||||
|
|
||||||
FROM ${BUILD_BASE_IMAGE} AS builder
|
FROM ${BUILD_BASE_IMAGE} AS builder
|
||||||
|
|
||||||
FROM oraclelinux:8-slim
|
FROM oraclelinux:9-slim
|
||||||
|
|
||||||
ARG MAJOR_VERSION
|
ARG MAJOR_VERSION
|
||||||
ARG ZBX_VERSION
|
ARG ZBX_VERSION
|
||||||
@ -28,7 +28,7 @@ STOPSIGNAL SIGTERM
|
|||||||
|
|
||||||
COPY --from=builder ["/tmp/zabbix-${ZBX_VERSION}/ui", "/usr/share/zabbix"]
|
COPY --from=builder ["/tmp/zabbix-${ZBX_VERSION}/ui", "/usr/share/zabbix"]
|
||||||
COPY ["conf/etc/", "/etc/"]
|
COPY ["conf/etc/", "/etc/"]
|
||||||
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 --mount=type=tmpfs,target=/var/lib/dnf/ \
|
RUN --mount=type=tmpfs,target=/var/lib/dnf/ \
|
||||||
set -eux && \
|
set -eux && \
|
||||||
@ -48,17 +48,16 @@ RUN --mount=type=tmpfs,target=/var/lib/dnf/ \
|
|||||||
glibc-locale-source \
|
glibc-locale-source \
|
||||||
supervisor" && \
|
supervisor" && \
|
||||||
microdnf -y module enable \
|
microdnf -y module enable \
|
||||||
--disablerepo "*" \
|
--disablerepo "*" \
|
||||||
--enablerepo "ol8_appstream" \
|
--enablerepo "ol9_appstream" \
|
||||||
--setopt=install_weak_deps=0 \
|
--setopt=install_weak_deps=0 \
|
||||||
--setopt=keepcache=0 \
|
--setopt=keepcache=0 \
|
||||||
--best \
|
php:8.2 && \
|
||||||
--nodocs mysql php:8.2 nginx:1.24 && \
|
|
||||||
microdnf -y install \
|
microdnf -y install \
|
||||||
--disablerepo="*" \
|
--disablerepo="*" \
|
||||||
--enablerepo="ol8_baseos_latest" \
|
--enablerepo="ol9_baseos_latest" \
|
||||||
--enablerepo="ol8_appstream" \
|
--enablerepo="ol9_appstream" \
|
||||||
--enablerepo="ol8_developer_EPEL" \
|
--enablerepo="ol9_developer_EPEL" \
|
||||||
--setopt=install_weak_deps=0 \
|
--setopt=install_weak_deps=0 \
|
||||||
--setopt=keepcache=0 \
|
--setopt=keepcache=0 \
|
||||||
--best \
|
--best \
|
||||||
|
@ -1,6 +0,0 @@
|
|||||||
[ol8_developer_EPEL]
|
|
||||||
name=Oracle Linux $releasever EPEL Packages for Development ($basearch)
|
|
||||||
baseurl=https://yum$ociregion.$ocidomain/repo/OracleLinux/OL8/developer/EPEL/$basearch/
|
|
||||||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
|
|
||||||
gpgcheck=1
|
|
||||||
enabled=0
|
|
@ -0,0 +1,6 @@
|
|||||||
|
[ol9_developer_EPEL]
|
||||||
|
name=Oracle Linux $releasever EPEL Packages for Development ($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
|
@ -5,7 +5,7 @@ ARG BUILD_BASE_IMAGE=zabbix-build-pgsql:ol-${ZBX_VERSION}
|
|||||||
|
|
||||||
FROM ${BUILD_BASE_IMAGE} AS builder
|
FROM ${BUILD_BASE_IMAGE} AS builder
|
||||||
|
|
||||||
FROM oraclelinux:8-slim
|
FROM oraclelinux:9-slim
|
||||||
|
|
||||||
ARG MAJOR_VERSION
|
ARG MAJOR_VERSION
|
||||||
ARG ZBX_VERSION
|
ARG ZBX_VERSION
|
||||||
@ -28,7 +28,7 @@ STOPSIGNAL SIGTERM
|
|||||||
|
|
||||||
COPY --from=builder ["/tmp/zabbix-${ZBX_VERSION}/ui", "/usr/share/zabbix"]
|
COPY --from=builder ["/tmp/zabbix-${ZBX_VERSION}/ui", "/usr/share/zabbix"]
|
||||||
COPY ["conf/etc/", "/etc/"]
|
COPY ["conf/etc/", "/etc/"]
|
||||||
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 --mount=type=tmpfs,target=/var/lib/dnf/ \
|
RUN --mount=type=tmpfs,target=/var/lib/dnf/ \
|
||||||
set -eux && \
|
set -eux && \
|
||||||
@ -46,19 +46,21 @@ RUN --mount=type=tmpfs,target=/var/lib/dnf/ \
|
|||||||
php-pgsql \
|
php-pgsql \
|
||||||
php-xml \
|
php-xml \
|
||||||
postgresql \
|
postgresql \
|
||||||
|
findutils \
|
||||||
|
glibc-locale-source \
|
||||||
supervisor" && \
|
supervisor" && \
|
||||||
microdnf -y module enable \
|
microdnf -y module enable \
|
||||||
--disablerepo "*" \
|
--disablerepo "*" \
|
||||||
--enablerepo "ol8_baseos_latest" \
|
--enablerepo "ol9_appstream" \
|
||||||
--enablerepo "ol8_appstream" \
|
|
||||||
--setopt=install_weak_deps=0 \
|
--setopt=install_weak_deps=0 \
|
||||||
--setopt=keepcache=0 \
|
--setopt=keepcache=0 \
|
||||||
postgresql:16 php:8.2 nginx:1.24 && \
|
php:8.2 \
|
||||||
|
postgresql:16 && \
|
||||||
microdnf -y install \
|
microdnf -y install \
|
||||||
--disablerepo="*" \
|
--disablerepo="*" \
|
||||||
--enablerepo="ol8_baseos_latest" \
|
--enablerepo="ol9_baseos_latest" \
|
||||||
--enablerepo="ol8_appstream" \
|
--enablerepo="ol9_appstream" \
|
||||||
--enablerepo="ol8_developer_EPEL" \
|
--enablerepo="ol9_developer_EPEL" \
|
||||||
--setopt=install_weak_deps=0 \
|
--setopt=install_weak_deps=0 \
|
||||||
--setopt=keepcache=0 \
|
--setopt=keepcache=0 \
|
||||||
--best \
|
--best \
|
||||||
|
@ -1,6 +0,0 @@
|
|||||||
[ol8_developer_EPEL]
|
|
||||||
name=Oracle Linux $releasever EPEL Packages for Development ($basearch)
|
|
||||||
baseurl=https://yum$ociregion.$ocidomain/repo/OracleLinux/OL8/developer/EPEL/$basearch/
|
|
||||||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
|
|
||||||
gpgcheck=1
|
|
||||||
enabled=0
|
|
@ -0,0 +1,6 @@
|
|||||||
|
[ol9_developer_EPEL]
|
||||||
|
name=Oracle Linux $releasever EPEL Packages for Development ($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
|
@ -5,7 +5,7 @@ ARG BUILD_BASE_IMAGE=zabbix-build-mysql:ol-${ZBX_VERSION}
|
|||||||
|
|
||||||
FROM ${BUILD_BASE_IMAGE} AS builder
|
FROM ${BUILD_BASE_IMAGE} AS builder
|
||||||
|
|
||||||
FROM oraclelinux:8-slim
|
FROM oraclelinux:9-slim
|
||||||
|
|
||||||
ARG MAJOR_VERSION
|
ARG MAJOR_VERSION
|
||||||
ARG ZBX_VERSION
|
ARG ZBX_VERSION
|
||||||
@ -29,7 +29,7 @@ STOPSIGNAL SIGTERM
|
|||||||
|
|
||||||
COPY --from=builder ["/tmp/zabbix-${ZBX_VERSION}-output/web_service/sbin/zabbix_web_service", "/usr/sbin/zabbix_web_service"]
|
COPY --from=builder ["/tmp/zabbix-${ZBX_VERSION}-output/web_service/sbin/zabbix_web_service", "/usr/sbin/zabbix_web_service"]
|
||||||
COPY --from=builder ["/tmp/zabbix-${ZBX_VERSION}-output/web_service/conf/", "/etc/zabbix/"]
|
COPY --from=builder ["/tmp/zabbix-${ZBX_VERSION}-output/web_service/conf/", "/etc/zabbix/"]
|
||||||
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 --mount=type=tmpfs,target=/var/lib/dnf/ \
|
RUN --mount=type=tmpfs,target=/var/lib/dnf/ \
|
||||||
set -eux && \
|
set -eux && \
|
||||||
@ -37,9 +37,9 @@ RUN --mount=type=tmpfs,target=/var/lib/dnf/ \
|
|||||||
chromium-headless" && \
|
chromium-headless" && \
|
||||||
microdnf -y install \
|
microdnf -y install \
|
||||||
--disablerepo="*" \
|
--disablerepo="*" \
|
||||||
--enablerepo="ol8_baseos_latest" \
|
--enablerepo="ol9_baseos_latest" \
|
||||||
--enablerepo="ol8_appstream" \
|
--enablerepo="ol9_appstream" \
|
||||||
--enablerepo="ol8_developer_EPEL" \
|
--enablerepo="ol9_developer_EPEL" \
|
||||||
--setopt=install_weak_deps=0 \
|
--setopt=install_weak_deps=0 \
|
||||||
--setopt=keepcache=0 \
|
--setopt=keepcache=0 \
|
||||||
--best \
|
--best \
|
||||||
|
@ -1,6 +0,0 @@
|
|||||||
[ol8_developer_EPEL]
|
|
||||||
name=Oracle Linux $releasever EPEL Packages for Development ($basearch)
|
|
||||||
baseurl=https://yum$ociregion.$ocidomain/repo/OracleLinux/OL8/developer/EPEL/$basearch/
|
|
||||||
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
|
|
||||||
gpgcheck=1
|
|
||||||
enabled=0
|
|
@ -0,0 +1,6 @@
|
|||||||
|
[ol9_developer_EPEL]
|
||||||
|
name=Oracle Linux $releasever EPEL Packages for Development ($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
|
Loading…
Reference in New Issue
Block a user