mirror of
https://github.com/zabbix/zabbix-docker.git
synced 2025-06-19 17:38:43 +02:00
Updated RHEL base image to 9 version
This commit is contained in:
parent
77b9579de7
commit
9871581d86
@ -6,7 +6,7 @@ ARG BUILD_BASE_IMAGE=zabbix-build-mysql:rhel-${ZBX_VERSION}
|
|||||||
|
|
||||||
FROM ${BUILD_BASE_IMAGE} as builder
|
FROM ${BUILD_BASE_IMAGE} as builder
|
||||||
|
|
||||||
FROM registry.access.redhat.com/ubi8/ubi-minimal
|
FROM registry.access.redhat.com/ubi9/ubi-minimal
|
||||||
|
|
||||||
ARG MAJOR_VERSION
|
ARG MAJOR_VERSION
|
||||||
ARG RELEASE
|
ARG RELEASE
|
||||||
@ -57,20 +57,20 @@ RUN set -eux && \
|
|||||||
iputils \
|
iputils \
|
||||||
shadow-utils \
|
shadow-utils \
|
||||||
pcre2 \
|
pcre2 \
|
||||||
libcurl" && \
|
libcurl-minimal" && \
|
||||||
curl -sSL -o /tmp/epel-release-latest-8.noarch.rpm https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm && \
|
curl -sSL -o /tmp/epel-release-latest-9.noarch.rpm https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm && \
|
||||||
rpm -ivh /tmp/epel-release-latest-8.noarch.rpm && \
|
rpm -ivh /tmp/epel-release-latest-9.noarch.rpm && \
|
||||||
rm -rf /tmp/epel-release-latest-8.noarch.rpm && \
|
rm -rf /tmp/epel-release-latest-9.noarch.rpm && \
|
||||||
microdnf -y install \
|
microdnf -y install \
|
||||||
--disablerepo "*" \
|
--disablerepo "*" \
|
||||||
--enablerepo "ubi-8-baseos-rpms" \
|
--enablerepo "ubi-9-baseos-rpms" \
|
||||||
--enablerepo "epel" \
|
--enablerepo "epel" \
|
||||||
--setopt=install_weak_deps=0 \
|
--setopt=install_weak_deps=0 \
|
||||||
--best \
|
--best \
|
||||||
--setopt=tsflags=nodocs \
|
--setopt=tsflags=nodocs \
|
||||||
${INSTALL_PKGS} && \
|
${INSTALL_PKGS} && \
|
||||||
microdnf -y reinstall \
|
microdnf -y reinstall \
|
||||||
--enablerepo "ubi-8-baseos-rpms" \
|
--enablerepo "ubi-9-baseos-rpms" \
|
||||||
--setopt=install_weak_deps=0 \
|
--setopt=install_weak_deps=0 \
|
||||||
--best \
|
--best \
|
||||||
--setopt=tsflags=nodocs \
|
--setopt=tsflags=nodocs \
|
||||||
|
@ -6,7 +6,7 @@ ARG BUILD_BASE_IMAGE=zabbix-build-mysql:rhel-${ZBX_VERSION}
|
|||||||
|
|
||||||
FROM ${BUILD_BASE_IMAGE} as builder
|
FROM ${BUILD_BASE_IMAGE} as builder
|
||||||
|
|
||||||
FROM registry.access.redhat.com/ubi8/ubi-minimal
|
FROM registry.access.redhat.com/ubi9/ubi-minimal
|
||||||
|
|
||||||
ARG MAJOR_VERSION
|
ARG MAJOR_VERSION
|
||||||
ARG RELEASE
|
ARG RELEASE
|
||||||
@ -64,20 +64,20 @@ RUN set -eux && \
|
|||||||
pcre2 \
|
pcre2 \
|
||||||
smartmontools \
|
smartmontools \
|
||||||
sudo \
|
sudo \
|
||||||
libcurl" && \
|
libcurl-minimal" && \
|
||||||
curl -sSL -o /tmp/epel-release-latest-8.noarch.rpm https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm && \
|
curl -sSL -o /tmp/epel-release-latest-9.noarch.rpm https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm && \
|
||||||
rpm -ivh /tmp/epel-release-latest-8.noarch.rpm && \
|
rpm -ivh /tmp/epel-release-latest-9.noarch.rpm && \
|
||||||
rm -rf /tmp/epel-release-latest-8.noarch.rpm && \
|
rm -rf /tmp/epel-release-latest-9.noarch.rpm && \
|
||||||
microdnf -y install \
|
microdnf -y install \
|
||||||
--disablerepo "*" \
|
--disablerepo "*" \
|
||||||
--enablerepo "ubi-8-baseos-rpms" \
|
--enablerepo "ubi-9-baseos-rpms" \
|
||||||
--enablerepo "epel" \
|
--enablerepo "epel" \
|
||||||
--setopt=install_weak_deps=0 \
|
--setopt=install_weak_deps=0 \
|
||||||
--best \
|
--best \
|
||||||
--setopt=tsflags=nodocs \
|
--setopt=tsflags=nodocs \
|
||||||
${INSTALL_PKGS} && \
|
${INSTALL_PKGS} && \
|
||||||
microdnf -y reinstall \
|
microdnf -y reinstall \
|
||||||
--enablerepo "ubi-8-baseos-rpms" \
|
--enablerepo "ubi-9-baseos-rpms" \
|
||||||
--setopt=install_weak_deps=0 \
|
--setopt=install_weak_deps=0 \
|
||||||
--best \
|
--best \
|
||||||
--setopt=tsflags=nodocs \
|
--setopt=tsflags=nodocs \
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
# syntax=docker/dockerfile:1
|
# syntax=docker/dockerfile:1
|
||||||
FROM registry.access.redhat.com/ubi8/ubi-minimal
|
FROM registry.access.redhat.com/ubi9/ubi-minimal
|
||||||
|
|
||||||
ARG MAJOR_VERSION=6.4
|
ARG MAJOR_VERSION=6.4
|
||||||
ARG RELEASE=
|
ARG RELEASE=
|
||||||
@ -54,14 +54,13 @@ RUN set -eux && \
|
|||||||
git \
|
git \
|
||||||
gettext \
|
gettext \
|
||||||
unixODBC-devel" && \
|
unixODBC-devel" && \
|
||||||
microdnf -y module enable mysql && \
|
|
||||||
microdnf -y install \
|
microdnf -y install \
|
||||||
--disablerepo "*" \
|
--disablerepo "*" \
|
||||||
--enablerepo "ubi-8-baseos-rpms" \
|
--enablerepo "ubi-9-baseos-rpms" \
|
||||||
--enablerepo "ubi-8-appstream-rpms" \
|
--enablerepo "ubi-9-appstream-rpms" \
|
||||||
--enablerepo "rhel-8-for-x86_64-baseos-rpms" \
|
--enablerepo "rhel-9-for-x86_64-baseos-rpms" \
|
||||||
--enablerepo "rhel-8-for-x86_64-appstream-rpms" \
|
--enablerepo "rhel-9-for-x86_64-appstream-rpms" \
|
||||||
--enablerepo "codeready-builder-for-rhel-8-x86_64-rpms" \
|
--enablerepo "codeready-builder-for-rhel-9-x86_64-rpms" \
|
||||||
--setopt=install_weak_deps=0 \
|
--setopt=install_weak_deps=0 \
|
||||||
--best \
|
--best \
|
||||||
--setopt=tsflags=nodocs \
|
--setopt=tsflags=nodocs \
|
||||||
|
@ -6,7 +6,7 @@ ARG BUILD_BASE_IMAGE=zabbix-build-mysql:rhel-${ZBX_VERSION}
|
|||||||
|
|
||||||
FROM ${BUILD_BASE_IMAGE} as builder
|
FROM ${BUILD_BASE_IMAGE} as builder
|
||||||
|
|
||||||
FROM registry.access.redhat.com/ubi8/ubi-minimal
|
FROM registry.access.redhat.com/ubi9/ubi-minimal
|
||||||
|
|
||||||
ARG MAJOR_VERSION
|
ARG MAJOR_VERSION
|
||||||
ARG RELEASE
|
ARG RELEASE
|
||||||
@ -55,8 +55,8 @@ RUN set -eux && \
|
|||||||
java-1.8.0-openjdk-headless" && \
|
java-1.8.0-openjdk-headless" && \
|
||||||
microdnf -y install \
|
microdnf -y install \
|
||||||
--disablerepo "*" \
|
--disablerepo "*" \
|
||||||
--enablerepo "ubi-8-baseos-rpms" \
|
--enablerepo "ubi-9-baseos-rpms" \
|
||||||
--enablerepo "ubi-8-appstream-rpms" \
|
--enablerepo "ubi-9-appstream-rpms" \
|
||||||
--setopt=install_weak_deps=0 \
|
--setopt=install_weak_deps=0 \
|
||||||
--best \
|
--best \
|
||||||
--setopt=tsflags=nodocs \
|
--setopt=tsflags=nodocs \
|
||||||
|
@ -6,7 +6,7 @@ ARG BUILD_BASE_IMAGE=zabbix-build-mysql:rhel-${ZBX_VERSION}
|
|||||||
|
|
||||||
FROM ${BUILD_BASE_IMAGE} as builder
|
FROM ${BUILD_BASE_IMAGE} as builder
|
||||||
|
|
||||||
FROM registry.access.redhat.com/ubi8/ubi-minimal
|
FROM registry.access.redhat.com/ubi9/ubi-minimal
|
||||||
|
|
||||||
ARG MAJOR_VERSION
|
ARG MAJOR_VERSION
|
||||||
ARG RELEASE
|
ARG RELEASE
|
||||||
@ -61,7 +61,7 @@ RUN set -eux && \
|
|||||||
shadow-utils \
|
shadow-utils \
|
||||||
fping \
|
fping \
|
||||||
iputils \
|
iputils \
|
||||||
libcurl \
|
libcurl-minimal \
|
||||||
libevent \
|
libevent \
|
||||||
openldap \
|
openldap \
|
||||||
libssh \
|
libssh \
|
||||||
@ -72,23 +72,23 @@ RUN set -eux && \
|
|||||||
OpenIPMI-libs \
|
OpenIPMI-libs \
|
||||||
pcre2 \
|
pcre2 \
|
||||||
unixODBC" && \
|
unixODBC" && \
|
||||||
curl -sSL -o /tmp/epel-release-latest-8.noarch.rpm https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm && \
|
curl -sSL -o /tmp/epel-release-latest-9.noarch.rpm https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm && \
|
||||||
rpm -ivh /tmp/epel-release-latest-8.noarch.rpm && \
|
rpm -ivh /tmp/epel-release-latest-9.noarch.rpm && \
|
||||||
rm -rf /tmp/epel-release-latest-8.noarch.rpm && \
|
rm -rf /tmp/epel-release-latest-9.noarch.rpm && \
|
||||||
microdnf -y module enable mysql && \
|
|
||||||
microdnf -y install \
|
microdnf -y install \
|
||||||
--disablerepo "*" \
|
--disablerepo "*" \
|
||||||
--enablerepo "ubi-8-baseos-rpms" \
|
--enablerepo "ubi-9-baseos-rpms" \
|
||||||
--enablerepo "ubi-8-appstream-rpms" \
|
--enablerepo "ubi-9-appstream-rpms" \
|
||||||
--enablerepo "rhel-8-for-x86_64-baseos-rpms" \
|
--enablerepo "rhel-9-for-x86_64-baseos-rpms" \
|
||||||
--enablerepo "rhel-8-for-x86_64-appstream-rpms" \
|
--enablerepo "rhel-9-for-x86_64-appstream-rpms" \
|
||||||
|
--enablerepo "codeready-builder-for-rhel-9-x86_64-rpms" \
|
||||||
--enablerepo "epel" \
|
--enablerepo "epel" \
|
||||||
--setopt=install_weak_deps=0 \
|
--setopt=install_weak_deps=0 \
|
||||||
--best \
|
--best \
|
||||||
--setopt=tsflags=nodocs \
|
--setopt=tsflags=nodocs \
|
||||||
${INSTALL_PKGS} && \
|
${INSTALL_PKGS} && \
|
||||||
microdnf -y reinstall \
|
microdnf -y reinstall \
|
||||||
--enablerepo "ubi-8-baseos-rpms" \
|
--enablerepo "ubi-9-baseos-rpms" \
|
||||||
--setopt=install_weak_deps=0 \
|
--setopt=install_weak_deps=0 \
|
||||||
--best \
|
--best \
|
||||||
--setopt=tsflags=nodocs \
|
--setopt=tsflags=nodocs \
|
||||||
|
@ -6,7 +6,7 @@ ARG BUILD_BASE_IMAGE=zabbix-build-sqlite3:rhel-${ZBX_VERSION}
|
|||||||
|
|
||||||
FROM ${BUILD_BASE_IMAGE} as builder
|
FROM ${BUILD_BASE_IMAGE} as builder
|
||||||
|
|
||||||
FROM registry.access.redhat.com/ubi8/ubi-minimal
|
FROM registry.access.redhat.com/ubi9/ubi-minimal
|
||||||
|
|
||||||
ARG MAJOR_VERSION
|
ARG MAJOR_VERSION
|
||||||
ARG RELEASE
|
ARG RELEASE
|
||||||
@ -60,7 +60,7 @@ RUN set -eux && \
|
|||||||
shadow-utils \
|
shadow-utils \
|
||||||
fping \
|
fping \
|
||||||
iputils \
|
iputils \
|
||||||
libcurl \
|
libcurl-minimal \
|
||||||
libevent \
|
libevent \
|
||||||
openldap \
|
openldap \
|
||||||
libssh \
|
libssh \
|
||||||
@ -70,21 +70,22 @@ RUN set -eux && \
|
|||||||
pcre2 \
|
pcre2 \
|
||||||
sqlite-libs \
|
sqlite-libs \
|
||||||
unixODBC" && \
|
unixODBC" && \
|
||||||
curl -sSL -o /tmp/epel-release-latest-8.noarch.rpm https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm && \
|
curl -sSL -o /tmp/epel-release-latest-9.noarch.rpm https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm && \
|
||||||
rpm -ivh /tmp/epel-release-latest-8.noarch.rpm && \
|
rpm -ivh /tmp/epel-release-latest-9.noarch.rpm && \
|
||||||
rm -rf /tmp/epel-release-latest-8.noarch.rpm && \
|
rm -rf /tmp/epel-release-latest-9.noarch.rpm && \
|
||||||
microdnf -y install \
|
microdnf -y install \
|
||||||
--disablerepo "*" \
|
--disablerepo "*" \
|
||||||
--enablerepo "ubi-8-baseos-rpms" \
|
--enablerepo "ubi-9-baseos-rpms" \
|
||||||
--enablerepo "ubi-8-appstream-rpms" \
|
--enablerepo "ubi-9-appstream-rpms" \
|
||||||
--enablerepo "rhel-8-for-x86_64-baseos-rpms" \
|
--enablerepo "rhel-9-for-x86_64-baseos-rpms" \
|
||||||
|
--enablerepo "rhel-9-for-x86_64-appstream-rpms" \
|
||||||
--enablerepo "epel" \
|
--enablerepo "epel" \
|
||||||
--setopt=install_weak_deps=0 \
|
--setopt=install_weak_deps=0 \
|
||||||
--best \
|
--best \
|
||||||
--setopt=tsflags=nodocs \
|
--setopt=tsflags=nodocs \
|
||||||
${INSTALL_PKGS} && \
|
${INSTALL_PKGS} && \
|
||||||
microdnf -y reinstall \
|
microdnf -y reinstall \
|
||||||
--enablerepo "ubi-8-baseos-rpms" \
|
--enablerepo "ubi-9-baseos-rpms" \
|
||||||
--setopt=install_weak_deps=0 \
|
--setopt=install_weak_deps=0 \
|
||||||
--best \
|
--best \
|
||||||
--setopt=tsflags=nodocs \
|
--setopt=tsflags=nodocs \
|
||||||
|
@ -6,7 +6,7 @@ ARG BUILD_BASE_IMAGE=zabbix-build-mysql:rhel-${ZBX_VERSION}
|
|||||||
|
|
||||||
FROM ${BUILD_BASE_IMAGE} as builder
|
FROM ${BUILD_BASE_IMAGE} as builder
|
||||||
|
|
||||||
FROM registry.access.redhat.com/ubi8/ubi-minimal
|
FROM registry.access.redhat.com/ubi9/ubi-minimal
|
||||||
|
|
||||||
ARG MAJOR_VERSION
|
ARG MAJOR_VERSION
|
||||||
ARG RELEASE
|
ARG RELEASE
|
||||||
@ -63,7 +63,7 @@ RUN set -eux && \
|
|||||||
tzdata \
|
tzdata \
|
||||||
iputils \
|
iputils \
|
||||||
hostname \
|
hostname \
|
||||||
libcurl \
|
libcurl-minimal \
|
||||||
libevent \
|
libevent \
|
||||||
openldap \
|
openldap \
|
||||||
libssh \
|
libssh \
|
||||||
@ -74,23 +74,23 @@ RUN set -eux && \
|
|||||||
OpenIPMI-libs \
|
OpenIPMI-libs \
|
||||||
pcre2 \
|
pcre2 \
|
||||||
unixODBC" && \
|
unixODBC" && \
|
||||||
curl -sSL -o /tmp/epel-release-latest-8.noarch.rpm https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm && \
|
curl -sSL -o /tmp/epel-release-latest-9.noarch.rpm https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm && \
|
||||||
rpm -ivh /tmp/epel-release-latest-8.noarch.rpm && \
|
rpm -ivh /tmp/epel-release-latest-9.noarch.rpm && \
|
||||||
rm -rf /tmp/epel-release-latest-8.noarch.rpm && \
|
rm -rf /tmp/epel-release-latest-9.noarch.rpm && \
|
||||||
microdnf -y module enable mysql && \
|
|
||||||
microdnf -y install \
|
microdnf -y install \
|
||||||
--disablerepo "*" \
|
--disablerepo "*" \
|
||||||
--enablerepo "ubi-8-baseos-rpms" \
|
--enablerepo "ubi-9-baseos-rpms" \
|
||||||
--enablerepo "ubi-8-appstream-rpms" \
|
--enablerepo "ubi-9-appstream-rpms" \
|
||||||
--enablerepo "rhel-8-for-x86_64-baseos-rpms" \
|
--enablerepo "rhel-9-for-x86_64-baseos-rpms" \
|
||||||
--enablerepo "rhel-8-for-x86_64-appstream-rpms" \
|
--enablerepo "rhel-9-for-x86_64-appstream-rpms" \
|
||||||
|
--enablerepo "codeready-builder-for-rhel-9-x86_64-rpms" \
|
||||||
--enablerepo "epel" \
|
--enablerepo "epel" \
|
||||||
--setopt=install_weak_deps=0 \
|
--setopt=install_weak_deps=0 \
|
||||||
--best \
|
--best \
|
||||||
--setopt=tsflags=nodocs \
|
--setopt=tsflags=nodocs \
|
||||||
${INSTALL_PKGS} && \
|
${INSTALL_PKGS} && \
|
||||||
microdnf -y reinstall \
|
microdnf -y reinstall \
|
||||||
--enablerepo "ubi-8-baseos-rpms" \
|
--enablerepo "ubi-9-baseos-rpms" \
|
||||||
--setopt=install_weak_deps=0 \
|
--setopt=install_weak_deps=0 \
|
||||||
--best \
|
--best \
|
||||||
--setopt=tsflags=nodocs \
|
--setopt=tsflags=nodocs \
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
FROM registry.access.redhat.com/ubi8/ubi-minimal
|
FROM registry.access.redhat.com/ubi9/ubi-minimal
|
||||||
|
|
||||||
ARG MAJOR_VERSION=6.4
|
ARG MAJOR_VERSION=6.4
|
||||||
ARG RELEASE=
|
ARG RELEASE=
|
||||||
@ -48,8 +48,8 @@ RUN set -eux && \
|
|||||||
net-snmp" && \
|
net-snmp" && \
|
||||||
microdnf -y install \
|
microdnf -y install \
|
||||||
--disablerepo="*" \
|
--disablerepo="*" \
|
||||||
--enablerepo "ubi-8-baseos-rpms" \
|
--enablerepo "ubi-9-baseos-rpms" \
|
||||||
--enablerepo "ubi-8-appstream-rpms" \
|
--enablerepo "ubi-9-appstream-rpms" \
|
||||||
--setopt=install_weak_deps=0 \
|
--setopt=install_weak_deps=0 \
|
||||||
--best \
|
--best \
|
||||||
--setopt=tsflags=nodocs \
|
--setopt=tsflags=nodocs \
|
||||||
|
@ -6,7 +6,7 @@ ARG BUILD_BASE_IMAGE=zabbix-build-mysql:rhel-${ZBX_VERSION}
|
|||||||
|
|
||||||
FROM ${BUILD_BASE_IMAGE} as builder
|
FROM ${BUILD_BASE_IMAGE} as builder
|
||||||
|
|
||||||
FROM registry.access.redhat.com/ubi8/ubi-minimal
|
FROM registry.access.redhat.com/ubi9/ubi-minimal
|
||||||
|
|
||||||
ARG MAJOR_VERSION
|
ARG MAJOR_VERSION
|
||||||
ARG RELEASE
|
ARG RELEASE
|
||||||
@ -51,7 +51,7 @@ COPY --from=builder ["/tmp/zabbix-${ZBX_VERSION}/ui", "/usr/share/zabbix"]
|
|||||||
RUN set -eux && \
|
RUN set -eux && \
|
||||||
INSTALL_PKGS="bash \
|
INSTALL_PKGS="bash \
|
||||||
tzdata \
|
tzdata \
|
||||||
curl \
|
curl-minimal \
|
||||||
supervisor \
|
supervisor \
|
||||||
shadow-utils \
|
shadow-utils \
|
||||||
findutils \
|
findutils \
|
||||||
@ -66,24 +66,22 @@ RUN set -eux && \
|
|||||||
php-mbstring \
|
php-mbstring \
|
||||||
php-mysqlnd \
|
php-mysqlnd \
|
||||||
php-xml" && \
|
php-xml" && \
|
||||||
curl -sSL -o /tmp/epel-release-latest-8.noarch.rpm https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm && \
|
curl -sSL -o /tmp/epel-release-latest-9.noarch.rpm https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm && \
|
||||||
rpm -ivh /tmp/epel-release-latest-8.noarch.rpm && \
|
rpm -ivh /tmp/epel-release-latest-9.noarch.rpm && \
|
||||||
rm -rf /tmp/epel-release-latest-8.noarch.rpm && \
|
rm -rf /tmp/epel-release-latest-9.noarch.rpm && \
|
||||||
microdnf -y module enable mysql && \
|
|
||||||
microdnf -y module enable php:8.0 nginx:1.20 && \
|
|
||||||
microdnf -y install \
|
microdnf -y install \
|
||||||
--disablerepo "*" \
|
--disablerepo "*" \
|
||||||
--enablerepo "ubi-8-baseos-rpms" \
|
--enablerepo "ubi-9-baseos-rpms" \
|
||||||
--enablerepo "ubi-8-appstream-rpms" \
|
--enablerepo "ubi-9-appstream-rpms" \
|
||||||
--enablerepo "rhel-8-for-x86_64-baseos-rpms" \
|
--enablerepo "rhel-9-for-x86_64-baseos-rpms" \
|
||||||
--enablerepo "rhel-8-for-x86_64-appstream-rpms" \
|
--enablerepo "rhel-9-for-x86_64-appstream-rpms" \
|
||||||
--enablerepo "epel" \
|
--enablerepo "epel" \
|
||||||
--setopt=install_weak_deps=0 \
|
--setopt=install_weak_deps=0 \
|
||||||
--best \
|
--best \
|
||||||
--setopt=tsflags=nodocs \
|
--setopt=tsflags=nodocs \
|
||||||
${INSTALL_PKGS} && \
|
${INSTALL_PKGS} && \
|
||||||
microdnf -y reinstall \
|
microdnf -y reinstall \
|
||||||
--enablerepo "ubi-8-baseos-rpms" \
|
--enablerepo "ubi-9-baseos-rpms" \
|
||||||
--setopt=install_weak_deps=0 \
|
--setopt=install_weak_deps=0 \
|
||||||
--best \
|
--best \
|
||||||
--setopt=tsflags=nodocs \
|
--setopt=tsflags=nodocs \
|
||||||
|
@ -6,7 +6,7 @@ ARG BUILD_BASE_IMAGE=zabbix-build-mysql:rhel-${ZBX_VERSION}
|
|||||||
|
|
||||||
FROM ${BUILD_BASE_IMAGE} as builder
|
FROM ${BUILD_BASE_IMAGE} as builder
|
||||||
|
|
||||||
FROM registry.access.redhat.com/ubi8/ubi-minimal
|
FROM registry.access.redhat.com/ubi9/ubi-minimal
|
||||||
|
|
||||||
ARG MAJOR_VERSION
|
ARG MAJOR_VERSION
|
||||||
ARG RELEASE
|
ARG RELEASE
|
||||||
@ -53,15 +53,15 @@ RUN set -eux && \
|
|||||||
INSTALL_PKGS="bash \
|
INSTALL_PKGS="bash \
|
||||||
shadow-utils \
|
shadow-utils \
|
||||||
chromium-headless" && \
|
chromium-headless" && \
|
||||||
curl -sSL -o /tmp/epel-release-latest-8.noarch.rpm https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm && \
|
curl -sSL -o /tmp/epel-release-latest-9.noarch.rpm https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm && \
|
||||||
rpm -ivh /tmp/epel-release-latest-8.noarch.rpm && \
|
rpm -ivh /tmp/epel-release-latest-9.noarch.rpm && \
|
||||||
rm -rf /tmp/epel-release-latest-8.noarch.rpm && \
|
rm -rf /tmp/epel-release-latest-9.noarch.rpm && \
|
||||||
microdnf -y install \
|
microdnf -y install \
|
||||||
--disablerepo "*" \
|
--disablerepo "*" \
|
||||||
--enablerepo "ubi-8-baseos-rpms" \
|
--enablerepo "ubi-9-baseos-rpms" \
|
||||||
--enablerepo "ubi-8-appstream-rpms" \
|
--enablerepo "ubi-9-appstream-rpms" \
|
||||||
--enablerepo "rhel-8-for-x86_64-baseos-rpms" \
|
--enablerepo "rhel-9-for-x86_64-baseos-rpms" \
|
||||||
--enablerepo "rhel-8-for-x86_64-appstream-rpms" \
|
--enablerepo "rhel-9-for-x86_64-appstream-rpms" \
|
||||||
--enablerepo "epel" \
|
--enablerepo "epel" \
|
||||||
--setopt=install_weak_deps=0 \
|
--setopt=install_weak_deps=0 \
|
||||||
--best \
|
--best \
|
||||||
@ -69,8 +69,8 @@ RUN set -eux && \
|
|||||||
${INSTALL_PKGS} && \
|
${INSTALL_PKGS} && \
|
||||||
microdnf -y install \
|
microdnf -y install \
|
||||||
--disablerepo "*" \
|
--disablerepo "*" \
|
||||||
--enablerepo "ubi-8-baseos-rpms" \
|
--enablerepo "ubi-9-baseos-rpms" \
|
||||||
--enablerepo "ubi-8-appstream-rpms" \
|
--enablerepo "ubi-9-appstream-rpms" \
|
||||||
--setopt=install_weak_deps=0 \
|
--setopt=install_weak_deps=0 \
|
||||||
--best \
|
--best \
|
||||||
--setopt=tsflags=nodocs \
|
--setopt=tsflags=nodocs \
|
||||||
|
@ -32,7 +32,7 @@ There is some documentation and examples in the [official Zabbix Documentation](
|
|||||||
Please also follow usage instructions of each Zabbix component image:
|
Please also follow usage instructions of each Zabbix component image:
|
||||||
|
|
||||||
* [zabbix-appliance](https://hub.docker.com/r/zabbix/zabbix-appliance/) - Zabbix appliance with built-in MySQL server, Zabbix server, Zabbix Java Gateway and Zabbix frontend based on Nginx web-server
|
* [zabbix-appliance](https://hub.docker.com/r/zabbix/zabbix-appliance/) - Zabbix appliance with built-in MySQL server, Zabbix server, Zabbix Java Gateway and Zabbix frontend based on Nginx web-server
|
||||||
> **Important information: Zabbix Docker Appliance has been decommissioned (except Red Hat edition) and will not be available for 3.0.31, 4.0.19, 4.4.7, 5.0.0 and newer releases. Please use a separate Docker images for each component instead of the all-in-one solution.**
|
> **Important information: Zabbix Docker Appliance has been decommissioned and will not be available for 3.0.31, 4.0.19, 4.4.7, 5.0.0 and newer releases. Please use a separate Docker images for each component instead of the all-in-one solution.**
|
||||||
|
|
||||||
* [zabbix-agent](https://hub.docker.com/r/zabbix/zabbix-agent/) - Zabbix agent
|
* [zabbix-agent](https://hub.docker.com/r/zabbix/zabbix-agent/) - Zabbix agent
|
||||||
* [zabbix-agent2](https://hub.docker.com/r/zabbix/zabbix-agent2/) - Zabbix agent 2
|
* [zabbix-agent2](https://hub.docker.com/r/zabbix/zabbix-agent2/) - Zabbix agent 2
|
||||||
|
Loading…
x
Reference in New Issue
Block a user