diff --git a/proxy-mysql/rhel/Dockerfile b/proxy-mysql/rhel/Dockerfile index d451d260b..fc1f03100 100644 --- a/proxy-mysql/rhel/Dockerfile +++ b/proxy-mysql/rhel/Dockerfile @@ -48,16 +48,17 @@ RUN set -eux && INSTALL_PKGS="bash \ openldap \ libssh \ libxml2 \ - mariadb \ + mysql \ + mysql-libs \ net-snmp-agent-libs \ OpenIPMI-libs \ pcre \ unixODBC" && \ - dnf -y install --disableplugin=subscription-manager --disablerepo "*" \ - https://repo.zabbix.com/zabbix/${MAJOR_VERSION}/rhel/8/x86_64/zabbix-release-${MAJOR_VERSION}-1.el8.noarch.rpm && \ - REPOLIST="rhel-8-for-x86_64-baseos-rpms,rhel-8-for-x86_64-appstream-rpms,zabbix-non-supported" && \ + REPOLIST="rhel-8-for-x86_64-baseos-rpms,rhel-8-for-x86_64-appstream-rpms,epel" && \ dnf -y update-minimal --disablerepo "*" --enablerepo ubi-8-baseos --setopt=tsflags=nodocs \ --security --sec-severity=Important --sec-severity=Critical && \ + dnf -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm && \ + dnf -y module enable mysql && \ dnf -y install --disablerepo "*" --enablerepo "${REPOLIST}" --setopt=install_weak_deps=False --best \ --setopt=tsflags=nodocs ${INSTALL_PKGS} && \ groupadd -g 1995 --system zabbix && \ @@ -102,7 +103,7 @@ RUN set -eux && INSTALL_PKGS="autoconf \ libevent-devel \ libssh-devel \ libxml2-devel \ - mariadb-connector-c-devel \ + mysql-devel \ net-snmp-devel \ openldap-devel \ pcre-devel \ @@ -110,7 +111,7 @@ RUN set -eux && INSTALL_PKGS="autoconf \ gcc \ make \ unixODBC-devel" && \ - REPOLIST="rhel-8-for-x86_64-baseos-rpms,rhel-8-for-x86_64-appstream-rpms,zabbix-non-supported" && \ + REPOLIST="rhel-8-for-x86_64-baseos-rpms,rhel-8-for-x86_64-appstream-rpms" && \ dnf -y install --disablerepo "*" --enablerepo "${REPOLIST}" --setopt=install_weak_deps=False --best \ --setopt=tsflags=nodocs ${INSTALL_PKGS} && \ cd /tmp/ && \ diff --git a/proxy-sqlite3/rhel/Dockerfile b/proxy-sqlite3/rhel/Dockerfile index 654061fbb..cb58605b3 100644 --- a/proxy-sqlite3/rhel/Dockerfile +++ b/proxy-sqlite3/rhel/Dockerfile @@ -53,11 +53,10 @@ RUN set -eux && INSTALL_PKGS="bash \ pcre \ sqlite-libs \ unixODBC" && \ - dnf -y install --disableplugin=subscription-manager --disablerepo "*" \ - https://repo.zabbix.com/zabbix/${MAJOR_VERSION}/rhel/8/x86_64/zabbix-release-${MAJOR_VERSION}-1.el8.noarch.rpm && \ - REPOLIST="rhel-8-for-x86_64-baseos-rpms,rhel-8-for-x86_64-appstream-rpms,zabbix-non-supported" && \ + REPOLIST="rhel-8-for-x86_64-baseos-rpms,rhel-8-for-x86_64-appstream-rpms,epel" && \ dnf -y update-minimal --disablerepo "*" --enablerepo ubi-8-baseos --setopt=tsflags=nodocs \ --security --sec-severity=Important --sec-severity=Critical && \ + dnf -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm && \ dnf -y install --disablerepo "*" --enablerepo "${REPOLIST}" --setopt=install_weak_deps=False --best \ --setopt=tsflags=nodocs ${INSTALL_PKGS} && \ groupadd -g 1995 --system zabbix && \ @@ -109,7 +108,7 @@ RUN set -eux && INSTALL_PKGS="autoconf \ gcc \ make \ unixODBC-devel" && \ - REPOLIST="rhel-8-for-x86_64-baseos-rpms,rhel-8-for-x86_64-appstream-rpms,zabbix-non-supported" && \ + REPOLIST="rhel-8-for-x86_64-baseos-rpms,rhel-8-for-x86_64-appstream-rpms" && \ dnf -y install --disablerepo "*" --enablerepo "${REPOLIST}" --setopt=install_weak_deps=False --best \ --setopt=tsflags=nodocs ${INSTALL_PKGS} && \ cd /tmp/ && \ diff --git a/server-mysql/rhel/Dockerfile b/server-mysql/rhel/Dockerfile index 3633bfcb2..695202f3a 100644 --- a/server-mysql/rhel/Dockerfile +++ b/server-mysql/rhel/Dockerfile @@ -49,16 +49,17 @@ RUN set -eux && INSTALL_PKGS="bash \ openldap \ libssh \ libxml2 \ - mariadb \ + mysql \ + mysql-libs \ net-snmp-agent-libs \ OpenIPMI-libs \ pcre \ unixODBC" && \ - dnf -y install --disableplugin=subscription-manager --disablerepo "*" \ - https://repo.zabbix.com/zabbix/${MAJOR_VERSION}/rhel/8/x86_64/zabbix-release-${MAJOR_VERSION}-1.el8.noarch.rpm && \ - REPOLIST="rhel-8-for-x86_64-baseos-rpms,rhel-8-for-x86_64-appstream-rpms,zabbix-non-supported" && \ + REPOLIST="rhel-8-for-x86_64-baseos-rpms,rhel-8-for-x86_64-appstream-rpms,epel" && \ dnf -y update-minimal --disablerepo "*" --enablerepo ubi-8-baseos --setopt=tsflags=nodocs \ --security --sec-severity=Important --sec-severity=Critical && \ + dnf -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm && \ + dnf -y module enable mysql && \ dnf -y install --disablerepo "*" --enablerepo "${REPOLIST}" --setopt=install_weak_deps=False --best \ --setopt=tsflags=nodocs ${INSTALL_PKGS} && \ groupadd -g 1995 --system zabbix && \ @@ -104,7 +105,7 @@ RUN set -eux && INSTALL_PKGS="autoconf \ libevent-devel \ libssh-devel \ libxml2-devel \ - mariadb-connector-c-devel \ + mysql-devel \ net-snmp-devel \ openldap-devel \ pcre-devel \ diff --git a/web-nginx-mysql/rhel/Dockerfile b/web-nginx-mysql/rhel/Dockerfile index 31e3b316e..42a742485 100644 --- a/web-nginx-mysql/rhel/Dockerfile +++ b/web-nginx-mysql/rhel/Dockerfile @@ -42,7 +42,7 @@ COPY ["licenses", "/licenses"] RUN set -eux && INSTALL_PKGS="bash \ curl \ - mariadb \ + mysql \ nginx \ php-bcmath \ php-fpm \ @@ -56,6 +56,7 @@ RUN set -eux && INSTALL_PKGS="bash \ REPOLIST="rhel-8-for-x86_64-baseos-rpms,rhel-8-for-x86_64-appstream-rpms,nginx-stable" && \ dnf -y update-minimal --disablerepo "*" --enablerepo ubi-8-baseos --setopt=tsflags=nodocs \ --security --sec-severity=Important --sec-severity=Critical && \ + dnf -y module enable mysql && \ dnf -y install --disablerepo "*" --enablerepo "${REPOLIST}" --setopt=install_weak_deps=False --best \ --setopt=tsflags=nodocs ${INSTALL_PKGS} && \ pip3 install supervisor && \ diff --git a/zabbix-appliance/rhel/Dockerfile b/zabbix-appliance/rhel/Dockerfile index bbd35b0d9..be9a48ed1 100644 --- a/zabbix-appliance/rhel/Dockerfile +++ b/zabbix-appliance/rhel/Dockerfile @@ -68,11 +68,10 @@ RUN set -o xtrace && INSTALL_PKGS="OpenIPMI-libs \ php-xml \ python3-pip \ unixODBC" && \ - dnf -y install --disableplugin=subscription-manager --disablerepo "*" \ - https://repo.zabbix.com/zabbix/${MAJOR_VERSION}/rhel/8/x86_64/zabbix-release-${MAJOR_VERSION}-1.el8.noarch.rpm && \ - REPOLIST="rhel-8-for-x86_64-baseos-rpms,rhel-8-for-x86_64-appstream-rpms,zabbix-non-supported,nginx-stable" && \ + REPOLIST="rhel-8-for-x86_64-baseos-rpms,rhel-8-for-x86_64-appstream-rpms,epel,nginx-stable" && \ dnf -y update-minimal --disablerepo "*" --enablerepo ubi-8-baseos --setopt=tsflags=nodocs \ --security --sec-severity=Important --sec-severity=Critical && \ + dnf -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm && \ dnf -y install --disablerepo "*" --enablerepo "${REPOLIST}" --setopt=install_weak_deps=False --best \ --setopt=tsflags=nodocs ${INSTALL_PKGS} && \ pip3 install supervisor && \