Review RHEL repositories

This commit is contained in:
root
2021-09-03 17:25:58 -04:00
parent fd8f683ba0
commit a249a56059
7 changed files with 34 additions and 31 deletions

View File

@ -54,9 +54,9 @@ RUN set -eux && INSTALL_PKGS="bash \
OpenIPMI-libs \
pcre \
unixODBC" && \
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 && \
REPOLIST="ubi-8-baseos,ubi-8-appstream,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 --setopt=install_weak_deps=False --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 \
@ -109,12 +109,13 @@ RUN set -eux && INSTALL_PKGS="autoconf \
mysql-devel \
net-snmp-devel \
openldap-devel \
OpenIPMI-devel \
pcre-devel \
git \
gcc \
make \
unixODBC-devel" && \
REPOLIST="rhel-8-for-x86_64-baseos-rpms,rhel-8-for-x86_64-appstream-rpms" && \
REPOLIST="ubi-8-baseos,ubi-8-appstream,rhel-8-for-x86_64-baseos-rpms,rhel-8-for-x86_64-appstream-rpms,codeready-builder-for-rhel-8-x86_64-rpms" && \
dnf -y install --disablerepo "*" --enablerepo "${REPOLIST}" --setopt=install_weak_deps=False --best \
--setopt=tsflags=nodocs ${INSTALL_PKGS} && \
cd /tmp/ && \
@ -136,7 +137,7 @@ RUN set -eux && INSTALL_PKGS="autoconf \
--with-libcurl \
--with-libxml2 \
--with-net-snmp \
# --with-openipmi \
--with-openipmi \
--with-openssl \
--with-ssh \
--with-unixodbc \