Fixed reepo names for RHEL

This commit is contained in:
Alexey Pustovalov 2022-12-05 02:03:38 -05:00
parent 6db3338725
commit 47a1e593b2
10 changed files with 32 additions and 24 deletions

View File

@ -63,14 +63,14 @@ RUN set -eux && \
rm -rf /tmp/epel-release-latest-8.noarch.rpm && \
microdnf -y install \
--disablerepo "*" \
--enablerepo "ubi-8-baseos" \
--enablerepo "ubi-8-baseos-rpms" \
--enablerepo "epel" \
--setopt=install_weak_deps=0 \
--best \
--setopt=tsflags=nodocs \
${INSTALL_PKGS} && \
microdnf -y reinstall \
--enablerepo "ubi-8-baseos" \
--enablerepo "ubi-8-baseos-rpms" \
--setopt=install_weak_deps=0 \
--best \
--setopt=tsflags=nodocs \

View File

@ -66,14 +66,14 @@ RUN set -eux && \
rm -rf /tmp/epel-release-latest-8.noarch.rpm && \
microdnf -y install \
--disablerepo "*" \
--enablerepo "ubi-8-baseos" \
--enablerepo "ubi-8-baseos-rpms" \
--enablerepo "epel" \
--setopt=install_weak_deps=0 \
--best \
--setopt=tsflags=nodocs \
${INSTALL_PKGS} && \
microdnf -y reinstall \
--enablerepo "ubi-8-baseos" \
--enablerepo "ubi-8-baseos-rpms" \
--setopt=install_weak_deps=0 \
--best \
--setopt=tsflags=nodocs \

View File

@ -56,8 +56,8 @@ RUN set -eux && \
microdnf -y module enable mysql && \
microdnf -y install \
--disablerepo "*" \
--enablerepo "ubi-8-baseos" \
--enablerepo "ubi-8-appstream" \
--enablerepo "ubi-8-baseos-rpms" \
--enablerepo "ubi-8-appstream-rpms" \
--enablerepo "rhel-8-for-x86_64-baseos-rpms" \
--enablerepo "rhel-8-for-x86_64-appstream-rpms" \
--enablerepo "codeready-builder-for-rhel-8-x86_64-rpms" \

View File

@ -55,8 +55,8 @@ RUN set -eux && \
java-1.8.0-openjdk-headless" && \
microdnf -y install \
--disablerepo "*" \
--enablerepo "ubi-8-baseos" \
--enablerepo "ubi-8-appstream" \
--enablerepo "ubi-8-baseos-rpms" \
--enablerepo "ubi-8-appstream-rpms" \
--setopt=install_weak_deps=0 \
--best \
--setopt=tsflags=nodocs \

View File

@ -77,8 +77,8 @@ RUN set -eux && \
microdnf -y module enable mysql && \
microdnf -y install \
--disablerepo "*" \
--enablerepo "ubi-8-baseos" \
--enablerepo "ubi-8-appstream" \
--enablerepo "ubi-8-baseos-rpms" \
--enablerepo "ubi-8-appstream-rpms" \
--enablerepo "rhel-8-for-x86_64-baseos-rpms" \
--enablerepo "rhel-8-for-x86_64-appstream-rpms" \
--enablerepo "epel" \
@ -87,7 +87,7 @@ RUN set -eux && \
--setopt=tsflags=nodocs \
${INSTALL_PKGS} && \
microdnf -y reinstall \
--enablerepo "ubi-8-baseos" \
--enablerepo "ubi-8-baseos-rpms" \
--setopt=install_weak_deps=0 \
--best \
--setopt=tsflags=nodocs \

View File

@ -74,8 +74,8 @@ RUN set -eux && \
rm -rf /tmp/epel-release-latest-8.noarch.rpm && \
microdnf -y install \
--disablerepo "*" \
--enablerepo "ubi-8-baseos" \
--enablerepo "ubi-8-appstream" \
--enablerepo "ubi-8-baseos-rpms" \
--enablerepo "ubi-8-appstream-rpms" \
--enablerepo "rhel-8-for-x86_64-baseos-rpms" \
--enablerepo "epel" \
--setopt=install_weak_deps=0 \
@ -83,7 +83,7 @@ RUN set -eux && \
--setopt=tsflags=nodocs \
${INSTALL_PKGS} && \
microdnf -y reinstall \
--enablerepo "ubi-8-baseos" \
--enablerepo "ubi-8-baseos-rpms" \
--setopt=install_weak_deps=0 \
--best \
--setopt=tsflags=nodocs \

View File

@ -79,8 +79,8 @@ RUN set -eux && \
microdnf -y module enable mysql && \
microdnf -y install \
--disablerepo "*" \
--enablerepo "ubi-8-baseos" \
--enablerepo "ubi-8-appstream" \
--enablerepo "ubi-8-baseos-rpms" \
--enablerepo "ubi-8-appstream-rpms" \
--enablerepo "rhel-8-for-x86_64-baseos-rpms" \
--enablerepo "rhel-8-for-x86_64-appstream-rpms" \
--enablerepo "epel" \
@ -89,7 +89,7 @@ RUN set -eux && \
--setopt=tsflags=nodocs \
${INSTALL_PKGS} && \
microdnf -y reinstall \
--enablerepo "ubi-8-baseos" \
--enablerepo "ubi-8-baseos-rpms" \
--setopt=install_weak_deps=0 \
--best \
--setopt=tsflags=nodocs \

View File

@ -48,8 +48,8 @@ RUN set -eux && \
net-snmp" && \
microdnf -y install \
--disablerepo="*" \
--enablerepo "ubi-8-baseos" \
--enablerepo "ubi-8-appstream" \
--enablerepo "ubi-8-baseos-rpms" \
--enablerepo "ubi-8-appstream-rpms" \
--setopt=install_weak_deps=0 \
--best \
--setopt=tsflags=nodocs \

View File

@ -73,8 +73,8 @@ RUN set -eux && \
microdnf -y module enable php:8.0 nginx:1.20 && \
microdnf -y install \
--disablerepo "*" \
--enablerepo "ubi-8-baseos" \
--enablerepo "ubi-8-appstream" \
--enablerepo "ubi-8-baseos-rpms" \
--enablerepo "ubi-8-appstream-rpms" \
--enablerepo "rhel-8-for-x86_64-baseos-rpms" \
--enablerepo "rhel-8-for-x86_64-appstream-rpms" \
--enablerepo "epel" \
@ -83,7 +83,7 @@ RUN set -eux && \
--setopt=tsflags=nodocs \
${INSTALL_PKGS} && \
microdnf -y reinstall \
--enablerepo "ubi-8-baseos" \
--enablerepo "ubi-8-baseos-rpms" \
--setopt=install_weak_deps=0 \
--best \
--setopt=tsflags=nodocs \

View File

@ -58,8 +58,8 @@ RUN set -eux && \
rm -rf /tmp/epel-release-latest-8.noarch.rpm && \
microdnf -y install \
--disablerepo "*" \
--enablerepo "ubi-8-baseos" \
--enablerepo "ubi-8-appstream" \
--enablerepo "ubi-8-baseos-rpms" \
--enablerepo "ubi-8-appstream-rpms" \
--enablerepo "rhel-8-for-x86_64-baseos-rpms" \
--enablerepo "rhel-8-for-x86_64-appstream-rpms" \
--enablerepo "epel" \
@ -67,6 +67,14 @@ RUN set -eux && \
--best \
--setopt=tsflags=nodocs \
${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 && \
useradd \
--system --comment "Zabbix monitoring system" \