mirror of
https://github.com/zabbix/zabbix-docker.git
synced 2025-08-09 16:45:05 +02:00
Review RHEL repositories
This commit is contained in:
@ -40,9 +40,9 @@ COPY ["licenses", "/licenses"]
|
||||
|
||||
RUN set -eux && INSTALL_PKGS="bash \
|
||||
java-1.8.0-openjdk-headless" && \
|
||||
REPOLIST="rhel-8-for-x86_64-baseos-rpms,rhel-8-for-x86_64-appstream-rpms" && \
|
||||
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" && \
|
||||
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 --disablerepo "*" --enablerepo "${REPOLIST}" --setopt=install_weak_deps=False --best \
|
||||
--setopt=tsflags=nodocs ${INSTALL_PKGS} && \
|
||||
groupadd --system --gid 1995 zabbix && \
|
||||
@ -69,7 +69,7 @@ RUN set -eux && INSTALL_PKGS="autoconf \
|
||||
gcc \
|
||||
make \
|
||||
java-1.8.0-openjdk-devel" && \
|
||||
REPOLIST="rhel-8-for-x86_64-baseos-rpms,rhel-8-for-x86_64-appstream-rpms" && \
|
||||
REPOLIST="ubi-8-baseos,ubi-8-appstream" && \
|
||||
dnf -y install --disablerepo "*" --enablerepo "${REPOLIST}" --setopt=install_weak_deps=False --best \
|
||||
--setopt=tsflags=nodocs ${INSTALL_PKGS} && \
|
||||
cd /tmp/ && \
|
||||
|
Reference in New Issue
Block a user