mirror of
https://github.com/zabbix/zabbix-docker.git
synced 2024-12-23 14:59:00 +01:00
Fixed reepo names for RHEL
This commit is contained in:
parent
6db3338725
commit
47a1e593b2
@ -63,14 +63,14 @@ RUN set -eux && \
|
|||||||
rm -rf /tmp/epel-release-latest-8.noarch.rpm && \
|
rm -rf /tmp/epel-release-latest-8.noarch.rpm && \
|
||||||
microdnf -y install \
|
microdnf -y install \
|
||||||
--disablerepo "*" \
|
--disablerepo "*" \
|
||||||
--enablerepo "ubi-8-baseos" \
|
--enablerepo "ubi-8-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" \
|
--enablerepo "ubi-8-baseos-rpms" \
|
||||||
--setopt=install_weak_deps=0 \
|
--setopt=install_weak_deps=0 \
|
||||||
--best \
|
--best \
|
||||||
--setopt=tsflags=nodocs \
|
--setopt=tsflags=nodocs \
|
||||||
|
@ -66,14 +66,14 @@ RUN set -eux && \
|
|||||||
rm -rf /tmp/epel-release-latest-8.noarch.rpm && \
|
rm -rf /tmp/epel-release-latest-8.noarch.rpm && \
|
||||||
microdnf -y install \
|
microdnf -y install \
|
||||||
--disablerepo "*" \
|
--disablerepo "*" \
|
||||||
--enablerepo "ubi-8-baseos" \
|
--enablerepo "ubi-8-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" \
|
--enablerepo "ubi-8-baseos-rpms" \
|
||||||
--setopt=install_weak_deps=0 \
|
--setopt=install_weak_deps=0 \
|
||||||
--best \
|
--best \
|
||||||
--setopt=tsflags=nodocs \
|
--setopt=tsflags=nodocs \
|
||||||
|
@ -56,8 +56,8 @@ RUN set -eux && \
|
|||||||
microdnf -y module enable mysql && \
|
microdnf -y module enable mysql && \
|
||||||
microdnf -y install \
|
microdnf -y install \
|
||||||
--disablerepo "*" \
|
--disablerepo "*" \
|
||||||
--enablerepo "ubi-8-baseos" \
|
--enablerepo "ubi-8-baseos-rpms" \
|
||||||
--enablerepo "ubi-8-appstream" \
|
--enablerepo "ubi-8-appstream-rpms" \
|
||||||
--enablerepo "rhel-8-for-x86_64-baseos-rpms" \
|
--enablerepo "rhel-8-for-x86_64-baseos-rpms" \
|
||||||
--enablerepo "rhel-8-for-x86_64-appstream-rpms" \
|
--enablerepo "rhel-8-for-x86_64-appstream-rpms" \
|
||||||
--enablerepo "codeready-builder-for-rhel-8-x86_64-rpms" \
|
--enablerepo "codeready-builder-for-rhel-8-x86_64-rpms" \
|
||||||
|
@ -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" \
|
--enablerepo "ubi-8-baseos-rpms" \
|
||||||
--enablerepo "ubi-8-appstream" \
|
--enablerepo "ubi-8-appstream-rpms" \
|
||||||
--setopt=install_weak_deps=0 \
|
--setopt=install_weak_deps=0 \
|
||||||
--best \
|
--best \
|
||||||
--setopt=tsflags=nodocs \
|
--setopt=tsflags=nodocs \
|
||||||
|
@ -77,8 +77,8 @@ RUN set -eux && \
|
|||||||
microdnf -y module enable mysql && \
|
microdnf -y module enable mysql && \
|
||||||
microdnf -y install \
|
microdnf -y install \
|
||||||
--disablerepo "*" \
|
--disablerepo "*" \
|
||||||
--enablerepo "ubi-8-baseos" \
|
--enablerepo "ubi-8-baseos-rpms" \
|
||||||
--enablerepo "ubi-8-appstream" \
|
--enablerepo "ubi-8-appstream-rpms" \
|
||||||
--enablerepo "rhel-8-for-x86_64-baseos-rpms" \
|
--enablerepo "rhel-8-for-x86_64-baseos-rpms" \
|
||||||
--enablerepo "rhel-8-for-x86_64-appstream-rpms" \
|
--enablerepo "rhel-8-for-x86_64-appstream-rpms" \
|
||||||
--enablerepo "epel" \
|
--enablerepo "epel" \
|
||||||
@ -87,7 +87,7 @@ RUN set -eux && \
|
|||||||
--setopt=tsflags=nodocs \
|
--setopt=tsflags=nodocs \
|
||||||
${INSTALL_PKGS} && \
|
${INSTALL_PKGS} && \
|
||||||
microdnf -y reinstall \
|
microdnf -y reinstall \
|
||||||
--enablerepo "ubi-8-baseos" \
|
--enablerepo "ubi-8-baseos-rpms" \
|
||||||
--setopt=install_weak_deps=0 \
|
--setopt=install_weak_deps=0 \
|
||||||
--best \
|
--best \
|
||||||
--setopt=tsflags=nodocs \
|
--setopt=tsflags=nodocs \
|
||||||
|
@ -74,8 +74,8 @@ RUN set -eux && \
|
|||||||
rm -rf /tmp/epel-release-latest-8.noarch.rpm && \
|
rm -rf /tmp/epel-release-latest-8.noarch.rpm && \
|
||||||
microdnf -y install \
|
microdnf -y install \
|
||||||
--disablerepo "*" \
|
--disablerepo "*" \
|
||||||
--enablerepo "ubi-8-baseos" \
|
--enablerepo "ubi-8-baseos-rpms" \
|
||||||
--enablerepo "ubi-8-appstream" \
|
--enablerepo "ubi-8-appstream-rpms" \
|
||||||
--enablerepo "rhel-8-for-x86_64-baseos-rpms" \
|
--enablerepo "rhel-8-for-x86_64-baseos-rpms" \
|
||||||
--enablerepo "epel" \
|
--enablerepo "epel" \
|
||||||
--setopt=install_weak_deps=0 \
|
--setopt=install_weak_deps=0 \
|
||||||
@ -83,7 +83,7 @@ RUN set -eux && \
|
|||||||
--setopt=tsflags=nodocs \
|
--setopt=tsflags=nodocs \
|
||||||
${INSTALL_PKGS} && \
|
${INSTALL_PKGS} && \
|
||||||
microdnf -y reinstall \
|
microdnf -y reinstall \
|
||||||
--enablerepo "ubi-8-baseos" \
|
--enablerepo "ubi-8-baseos-rpms" \
|
||||||
--setopt=install_weak_deps=0 \
|
--setopt=install_weak_deps=0 \
|
||||||
--best \
|
--best \
|
||||||
--setopt=tsflags=nodocs \
|
--setopt=tsflags=nodocs \
|
||||||
|
@ -79,8 +79,8 @@ RUN set -eux && \
|
|||||||
microdnf -y module enable mysql && \
|
microdnf -y module enable mysql && \
|
||||||
microdnf -y install \
|
microdnf -y install \
|
||||||
--disablerepo "*" \
|
--disablerepo "*" \
|
||||||
--enablerepo "ubi-8-baseos" \
|
--enablerepo "ubi-8-baseos-rpms" \
|
||||||
--enablerepo "ubi-8-appstream" \
|
--enablerepo "ubi-8-appstream-rpms" \
|
||||||
--enablerepo "rhel-8-for-x86_64-baseos-rpms" \
|
--enablerepo "rhel-8-for-x86_64-baseos-rpms" \
|
||||||
--enablerepo "rhel-8-for-x86_64-appstream-rpms" \
|
--enablerepo "rhel-8-for-x86_64-appstream-rpms" \
|
||||||
--enablerepo "epel" \
|
--enablerepo "epel" \
|
||||||
@ -89,7 +89,7 @@ RUN set -eux && \
|
|||||||
--setopt=tsflags=nodocs \
|
--setopt=tsflags=nodocs \
|
||||||
${INSTALL_PKGS} && \
|
${INSTALL_PKGS} && \
|
||||||
microdnf -y reinstall \
|
microdnf -y reinstall \
|
||||||
--enablerepo "ubi-8-baseos" \
|
--enablerepo "ubi-8-baseos-rpms" \
|
||||||
--setopt=install_weak_deps=0 \
|
--setopt=install_weak_deps=0 \
|
||||||
--best \
|
--best \
|
||||||
--setopt=tsflags=nodocs \
|
--setopt=tsflags=nodocs \
|
||||||
|
@ -48,8 +48,8 @@ RUN set -eux && \
|
|||||||
net-snmp" && \
|
net-snmp" && \
|
||||||
microdnf -y install \
|
microdnf -y install \
|
||||||
--disablerepo="*" \
|
--disablerepo="*" \
|
||||||
--enablerepo "ubi-8-baseos" \
|
--enablerepo "ubi-8-baseos-rpms" \
|
||||||
--enablerepo "ubi-8-appstream" \
|
--enablerepo "ubi-8-appstream-rpms" \
|
||||||
--setopt=install_weak_deps=0 \
|
--setopt=install_weak_deps=0 \
|
||||||
--best \
|
--best \
|
||||||
--setopt=tsflags=nodocs \
|
--setopt=tsflags=nodocs \
|
||||||
|
@ -73,8 +73,8 @@ RUN set -eux && \
|
|||||||
microdnf -y module enable php:8.0 nginx:1.20 && \
|
microdnf -y module enable php:8.0 nginx:1.20 && \
|
||||||
microdnf -y install \
|
microdnf -y install \
|
||||||
--disablerepo "*" \
|
--disablerepo "*" \
|
||||||
--enablerepo "ubi-8-baseos" \
|
--enablerepo "ubi-8-baseos-rpms" \
|
||||||
--enablerepo "ubi-8-appstream" \
|
--enablerepo "ubi-8-appstream-rpms" \
|
||||||
--enablerepo "rhel-8-for-x86_64-baseos-rpms" \
|
--enablerepo "rhel-8-for-x86_64-baseos-rpms" \
|
||||||
--enablerepo "rhel-8-for-x86_64-appstream-rpms" \
|
--enablerepo "rhel-8-for-x86_64-appstream-rpms" \
|
||||||
--enablerepo "epel" \
|
--enablerepo "epel" \
|
||||||
@ -83,7 +83,7 @@ RUN set -eux && \
|
|||||||
--setopt=tsflags=nodocs \
|
--setopt=tsflags=nodocs \
|
||||||
${INSTALL_PKGS} && \
|
${INSTALL_PKGS} && \
|
||||||
microdnf -y reinstall \
|
microdnf -y reinstall \
|
||||||
--enablerepo "ubi-8-baseos" \
|
--enablerepo "ubi-8-baseos-rpms" \
|
||||||
--setopt=install_weak_deps=0 \
|
--setopt=install_weak_deps=0 \
|
||||||
--best \
|
--best \
|
||||||
--setopt=tsflags=nodocs \
|
--setopt=tsflags=nodocs \
|
||||||
|
@ -58,8 +58,8 @@ RUN set -eux && \
|
|||||||
rm -rf /tmp/epel-release-latest-8.noarch.rpm && \
|
rm -rf /tmp/epel-release-latest-8.noarch.rpm && \
|
||||||
microdnf -y install \
|
microdnf -y install \
|
||||||
--disablerepo "*" \
|
--disablerepo "*" \
|
||||||
--enablerepo "ubi-8-baseos" \
|
--enablerepo "ubi-8-baseos-rpms" \
|
||||||
--enablerepo "ubi-8-appstream" \
|
--enablerepo "ubi-8-appstream-rpms" \
|
||||||
--enablerepo "rhel-8-for-x86_64-baseos-rpms" \
|
--enablerepo "rhel-8-for-x86_64-baseos-rpms" \
|
||||||
--enablerepo "rhel-8-for-x86_64-appstream-rpms" \
|
--enablerepo "rhel-8-for-x86_64-appstream-rpms" \
|
||||||
--enablerepo "epel" \
|
--enablerepo "epel" \
|
||||||
@ -67,6 +67,14 @@ RUN set -eux && \
|
|||||||
--best \
|
--best \
|
||||||
--setopt=tsflags=nodocs \
|
--setopt=tsflags=nodocs \
|
||||||
${INSTALL_PKGS} && \
|
${INSTALL_PKGS} && \
|
||||||
|
microdnf -y install \
|
||||||
|
--disablerepo "*" \
|
||||||
|
--enablerepo "ubi-8-baseos-rpms" \
|
||||||
|
--enablerepo "ubi-8-appstream-rpms" \
|
||||||
|
--setopt=install_weak_deps=0 \
|
||||||
|
--best \
|
||||||
|
--setopt=tsflags=nodocs \
|
||||||
|
nss nss-sysinit && \
|
||||||
groupadd --system --gid 1995 zabbix && \
|
groupadd --system --gid 1995 zabbix && \
|
||||||
useradd \
|
useradd \
|
||||||
--system --comment "Zabbix monitoring system" \
|
--system --comment "Zabbix monitoring system" \
|
||||||
|
Loading…
Reference in New Issue
Block a user