mirror of
https://github.com/zabbix/zabbix-docker.git
synced 2024-11-28 18:53:10 +01:00
Review RHEL repositories
This commit is contained in:
parent
fd8f683ba0
commit
a249a56059
@ -44,9 +44,9 @@ RUN set -eux && INSTALL_PKGS="bash \
|
|||||||
iputils \
|
iputils \
|
||||||
pcre \
|
pcre \
|
||||||
libcurl" && \
|
libcurl" && \
|
||||||
REPOLIST="rhel-8-for-x86_64-baseos-rpms,rhel-8-for-x86_64-appstream-rpms" && \
|
REPOLIST="ubi-8-baseos,ubi-8-appstream" && \
|
||||||
dnf -y update-minimal --disablerepo "*" --enablerepo ubi-8-baseos --setopt=tsflags=nodocs \
|
dnf -y update-minimal --disablerepo "*" --enablerepo "ubi-8-baseos" --setopt=tsflags=nodocs \
|
||||||
--security --sec-severity=Important --sec-severity=Critical && \
|
--security --sec-severity=Important --setopt=install_weak_deps=False --sec-severity=Critical && \
|
||||||
dnf -y install --disablerepo "*" --enablerepo "${REPOLIST}" --setopt=install_weak_deps=False --best \
|
dnf -y install --disablerepo "*" --enablerepo "${REPOLIST}" --setopt=install_weak_deps=False --best \
|
||||||
--setopt=tsflags=nodocs ${INSTALL_PKGS} && \
|
--setopt=tsflags=nodocs ${INSTALL_PKGS} && \
|
||||||
groupadd --system --gid 1995 zabbix && \
|
groupadd --system --gid 1995 zabbix && \
|
||||||
@ -80,7 +80,7 @@ RUN set -eux && INSTALL_PKGS="bash \
|
|||||||
rm -rf /var/cache/yum /var/lib/yum/yumdb/* /usr/lib/udev/hwdb.d/* && \
|
rm -rf /var/cache/yum /var/lib/yum/yumdb/* /usr/lib/udev/hwdb.d/* && \
|
||||||
rm -rf /var/cache/dnf /etc/udev/hwdb.bin /root/.pki
|
rm -rf /var/cache/dnf /etc/udev/hwdb.bin /root/.pki
|
||||||
|
|
||||||
RUN set -eux && REPOLIST="rhel-8-for-x86_64-baseos-rpms,rhel-8-for-x86_64-appstream-rpms" && \
|
RUN set -eux && REPOLIST="ubi-8-baseos,ubi-8-appstream" && \
|
||||||
INSTALL_PKGS="autoconf \
|
INSTALL_PKGS="autoconf \
|
||||||
automake \
|
automake \
|
||||||
libcurl-devel \
|
libcurl-devel \
|
||||||
|
@ -44,9 +44,9 @@ RUN set -eux && INSTALL_PKGS="bash \
|
|||||||
iputils \
|
iputils \
|
||||||
pcre \
|
pcre \
|
||||||
libcurl" && \
|
libcurl" && \
|
||||||
REPOLIST="rhel-8-for-x86_64-baseos-rpms,rhel-8-for-x86_64-appstream-rpms" && \
|
REPOLIST="ubi-8-baseos,ubi-8-appstream" && \
|
||||||
dnf -y update-minimal --disablerepo "*" --enablerepo ubi-8-baseos --setopt=tsflags=nodocs \
|
dnf -y update-minimal --disablerepo "*" --enablerepo "ubi-8-baseos" --setopt=tsflags=nodocs \
|
||||||
--security --sec-severity=Important --sec-severity=Critical && \
|
--security --sec-severity=Important --setopt=install_weak_deps=False --sec-severity=Critical && \
|
||||||
dnf -y install --disablerepo "*" --enablerepo "${REPOLIST}" --setopt=install_weak_deps=False --best \
|
dnf -y install --disablerepo "*" --enablerepo "${REPOLIST}" --setopt=install_weak_deps=False --best \
|
||||||
--setopt=tsflags=nodocs ${INSTALL_PKGS} && \
|
--setopt=tsflags=nodocs ${INSTALL_PKGS} && \
|
||||||
groupadd --system --gid 1995 zabbix && \
|
groupadd --system --gid 1995 zabbix && \
|
||||||
@ -81,7 +81,7 @@ RUN set -eux && INSTALL_PKGS="bash \
|
|||||||
rm -rf /var/cache/yum /var/lib/yum/yumdb/* /usr/lib/udev/hwdb.d/* && \
|
rm -rf /var/cache/yum /var/lib/yum/yumdb/* /usr/lib/udev/hwdb.d/* && \
|
||||||
rm -rf /var/cache/dnf /etc/udev/hwdb.bin /root/.pki
|
rm -rf /var/cache/dnf /etc/udev/hwdb.bin /root/.pki
|
||||||
|
|
||||||
RUN set -eux && REPOLIST="rhel-8-for-x86_64-baseos-rpms,rhel-8-for-x86_64-appstream-rpms" && \
|
RUN set -eux && REPOLIST="ubi-8-baseos,ubi-8-appstream" && \
|
||||||
INSTALL_PKGS="autoconf \
|
INSTALL_PKGS="autoconf \
|
||||||
automake \
|
automake \
|
||||||
libcurl-devel \
|
libcurl-devel \
|
||||||
|
@ -40,9 +40,9 @@ COPY ["licenses", "/licenses"]
|
|||||||
|
|
||||||
RUN set -eux && INSTALL_PKGS="bash \
|
RUN set -eux && INSTALL_PKGS="bash \
|
||||||
java-1.8.0-openjdk-headless" && \
|
java-1.8.0-openjdk-headless" && \
|
||||||
REPOLIST="rhel-8-for-x86_64-baseos-rpms,rhel-8-for-x86_64-appstream-rpms" && \
|
REPOLIST="ubi-8-baseos,ubi-8-appstream" && \
|
||||||
dnf -y update-minimal --disablerepo "*" --enablerepo ubi-8-baseos --setopt=tsflags=nodocs \
|
dnf -y update-minimal --disablerepo "*" --enablerepo "ubi-8-baseos" --setopt=tsflags=nodocs \
|
||||||
--security --sec-severity=Important --sec-severity=Critical && \
|
--security --sec-severity=Important --setopt=install_weak_deps=False --sec-severity=Critical && \
|
||||||
dnf -y install --disablerepo "*" --enablerepo "${REPOLIST}" --setopt=install_weak_deps=False --best \
|
dnf -y install --disablerepo "*" --enablerepo "${REPOLIST}" --setopt=install_weak_deps=False --best \
|
||||||
--setopt=tsflags=nodocs ${INSTALL_PKGS} && \
|
--setopt=tsflags=nodocs ${INSTALL_PKGS} && \
|
||||||
groupadd --system --gid 1995 zabbix && \
|
groupadd --system --gid 1995 zabbix && \
|
||||||
@ -69,7 +69,7 @@ RUN set -eux && INSTALL_PKGS="autoconf \
|
|||||||
gcc \
|
gcc \
|
||||||
make \
|
make \
|
||||||
java-1.8.0-openjdk-devel" && \
|
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 \
|
dnf -y install --disablerepo "*" --enablerepo "${REPOLIST}" --setopt=install_weak_deps=False --best \
|
||||||
--setopt=tsflags=nodocs ${INSTALL_PKGS} && \
|
--setopt=tsflags=nodocs ${INSTALL_PKGS} && \
|
||||||
cd /tmp/ && \
|
cd /tmp/ && \
|
||||||
|
@ -54,9 +54,9 @@ RUN set -eux && INSTALL_PKGS="bash \
|
|||||||
OpenIPMI-libs \
|
OpenIPMI-libs \
|
||||||
pcre \
|
pcre \
|
||||||
unixODBC" && \
|
unixODBC" && \
|
||||||
REPOLIST="rhel-8-for-x86_64-baseos-rpms,rhel-8-for-x86_64-appstream-rpms,epel" && \
|
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 \
|
dnf -y update-minimal --disablerepo "*" --enablerepo "ubi-8-baseos" --setopt=tsflags=nodocs \
|
||||||
--security --sec-severity=Important --sec-severity=Critical && \
|
--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 install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm && \
|
||||||
dnf -y module enable mysql && \
|
dnf -y module enable mysql && \
|
||||||
dnf -y install --disablerepo "*" --enablerepo "${REPOLIST}" --setopt=install_weak_deps=False --best \
|
dnf -y install --disablerepo "*" --enablerepo "${REPOLIST}" --setopt=install_weak_deps=False --best \
|
||||||
@ -109,12 +109,13 @@ RUN set -eux && INSTALL_PKGS="autoconf \
|
|||||||
mysql-devel \
|
mysql-devel \
|
||||||
net-snmp-devel \
|
net-snmp-devel \
|
||||||
openldap-devel \
|
openldap-devel \
|
||||||
|
OpenIPMI-devel \
|
||||||
pcre-devel \
|
pcre-devel \
|
||||||
git \
|
git \
|
||||||
gcc \
|
gcc \
|
||||||
make \
|
make \
|
||||||
unixODBC-devel" && \
|
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 \
|
dnf -y install --disablerepo "*" --enablerepo "${REPOLIST}" --setopt=install_weak_deps=False --best \
|
||||||
--setopt=tsflags=nodocs ${INSTALL_PKGS} && \
|
--setopt=tsflags=nodocs ${INSTALL_PKGS} && \
|
||||||
cd /tmp/ && \
|
cd /tmp/ && \
|
||||||
@ -136,7 +137,7 @@ RUN set -eux && INSTALL_PKGS="autoconf \
|
|||||||
--with-libcurl \
|
--with-libcurl \
|
||||||
--with-libxml2 \
|
--with-libxml2 \
|
||||||
--with-net-snmp \
|
--with-net-snmp \
|
||||||
# --with-openipmi \
|
--with-openipmi \
|
||||||
--with-openssl \
|
--with-openssl \
|
||||||
--with-ssh \
|
--with-ssh \
|
||||||
--with-unixodbc \
|
--with-unixodbc \
|
||||||
|
@ -53,9 +53,9 @@ RUN set -eux && INSTALL_PKGS="bash \
|
|||||||
pcre \
|
pcre \
|
||||||
sqlite-libs \
|
sqlite-libs \
|
||||||
unixODBC" && \
|
unixODBC" && \
|
||||||
REPOLIST="rhel-8-for-x86_64-baseos-rpms,rhel-8-for-x86_64-appstream-rpms,epel" && \
|
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 \
|
dnf -y update-minimal --disablerepo "*" --enablerepo "ubi-8-baseos" --setopt=tsflags=nodocs \
|
||||||
--security --sec-severity=Important --sec-severity=Critical && \
|
--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 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 \
|
dnf -y install --disablerepo "*" --enablerepo "${REPOLIST}" --setopt=install_weak_deps=False --best \
|
||||||
--setopt=tsflags=nodocs ${INSTALL_PKGS} && \
|
--setopt=tsflags=nodocs ${INSTALL_PKGS} && \
|
||||||
@ -107,12 +107,13 @@ RUN set -eux && INSTALL_PKGS="autoconf \
|
|||||||
sqlite-devel \
|
sqlite-devel \
|
||||||
net-snmp-devel \
|
net-snmp-devel \
|
||||||
openldap-devel \
|
openldap-devel \
|
||||||
|
OpenIPMI-devel \
|
||||||
pcre-devel \
|
pcre-devel \
|
||||||
git \
|
git \
|
||||||
gcc \
|
gcc \
|
||||||
make \
|
make \
|
||||||
unixODBC-devel" && \
|
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 \
|
dnf -y install --disablerepo "*" --enablerepo "${REPOLIST}" --setopt=install_weak_deps=False --best \
|
||||||
--setopt=tsflags=nodocs ${INSTALL_PKGS} && \
|
--setopt=tsflags=nodocs ${INSTALL_PKGS} && \
|
||||||
cd /tmp/ && \
|
cd /tmp/ && \
|
||||||
@ -134,7 +135,7 @@ RUN set -eux && INSTALL_PKGS="autoconf \
|
|||||||
--with-libcurl \
|
--with-libcurl \
|
||||||
--with-libxml2 \
|
--with-libxml2 \
|
||||||
--with-net-snmp \
|
--with-net-snmp \
|
||||||
# --with-openipmi \
|
--with-openipmi \
|
||||||
--with-openssl \
|
--with-openssl \
|
||||||
--with-ssh \
|
--with-ssh \
|
||||||
--with-unixodbc \
|
--with-unixodbc \
|
||||||
|
@ -55,9 +55,9 @@ RUN set -eux && INSTALL_PKGS="bash \
|
|||||||
OpenIPMI-libs \
|
OpenIPMI-libs \
|
||||||
pcre \
|
pcre \
|
||||||
unixODBC" && \
|
unixODBC" && \
|
||||||
REPOLIST="rhel-8-for-x86_64-baseos-rpms,rhel-8-for-x86_64-appstream-rpms,epel" && \
|
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 \
|
dnf -y update-minimal --disablerepo "*" --enablerepo "ubi-8-baseos" --setopt=tsflags=nodocs \
|
||||||
--security --sec-severity=Important --sec-severity=Critical && \
|
--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 install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm && \
|
||||||
dnf -y module enable mysql && \
|
dnf -y module enable mysql && \
|
||||||
dnf -y install --disablerepo "*" --enablerepo "${REPOLIST}" --setopt=install_weak_deps=False --best \
|
dnf -y install --disablerepo "*" --enablerepo "${REPOLIST}" --setopt=install_weak_deps=False --best \
|
||||||
@ -111,12 +111,13 @@ RUN set -eux && INSTALL_PKGS="autoconf \
|
|||||||
mysql-devel \
|
mysql-devel \
|
||||||
net-snmp-devel \
|
net-snmp-devel \
|
||||||
openldap-devel \
|
openldap-devel \
|
||||||
|
OpenIPMI-devel \
|
||||||
pcre-devel \
|
pcre-devel \
|
||||||
git \
|
git \
|
||||||
gcc \
|
gcc \
|
||||||
make \
|
make \
|
||||||
unixODBC-devel" && \
|
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 \
|
dnf -y install --disablerepo "*" --enablerepo "${REPOLIST}" --setopt=install_weak_deps=False --best \
|
||||||
--setopt=tsflags=nodocs ${INSTALL_PKGS} && \
|
--setopt=tsflags=nodocs ${INSTALL_PKGS} && \
|
||||||
cd /tmp/ && \
|
cd /tmp/ && \
|
||||||
@ -138,7 +139,7 @@ RUN set -eux && INSTALL_PKGS="autoconf \
|
|||||||
--with-libcurl \
|
--with-libcurl \
|
||||||
--with-libxml2 \
|
--with-libxml2 \
|
||||||
--with-net-snmp \
|
--with-net-snmp \
|
||||||
# --with-openipmi \
|
--with-openipmi \
|
||||||
--with-openssl \
|
--with-openssl \
|
||||||
--with-ssh \
|
--with-ssh \
|
||||||
--with-unixodbc \
|
--with-unixodbc \
|
||||||
|
@ -53,9 +53,9 @@ RUN set -eux && INSTALL_PKGS="bash \
|
|||||||
php-mbstring \
|
php-mbstring \
|
||||||
php-mysqlnd \
|
php-mysqlnd \
|
||||||
php-xml" && \
|
php-xml" && \
|
||||||
REPOLIST="rhel-8-for-x86_64-baseos-rpms,rhel-8-for-x86_64-appstream-rpms,epel" && \
|
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 \
|
dnf -y update-minimal --disablerepo "*" --enablerepo "ubi-8-baseos" --setopt=tsflags=nodocs \
|
||||||
--security --sec-severity=Important --sec-severity=Critical && \
|
--security --sec-severity=Important --setopt=install_weak_deps=False --sec-severity=Critical && \
|
||||||
dnf -y module enable mysql && \
|
dnf -y module enable mysql && \
|
||||||
dnf -y module enable php:7.4 nginx:1.18 && \
|
dnf -y module enable php:7.4 nginx:1.18 && \
|
||||||
dnf -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm && \
|
dnf -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm && \
|
||||||
@ -81,7 +81,7 @@ RUN set -eux && INSTALL_PKGS="bash \
|
|||||||
|
|
||||||
COPY ["conf/etc/", "/etc/"]
|
COPY ["conf/etc/", "/etc/"]
|
||||||
|
|
||||||
RUN set -eux && REPOLIST="rhel-8-for-x86_64-baseos-rpms,rhel-8-for-x86_64-appstream-rpms" && \
|
RUN set -eux && REPOLIST="ubi-8-baseos,ubi-8-appstream,rhel-8-for-x86_64-baseos-rpms,rhel-8-for-x86_64-appstream-rpms" && \
|
||||||
INSTALL_PKGS="glibc-locale-source gettext \
|
INSTALL_PKGS="glibc-locale-source gettext \
|
||||||
git" && \
|
git" && \
|
||||||
dnf -y install --disablerepo "*" --enablerepo "${REPOLIST}" --setopt=install_weak_deps=False --best \
|
dnf -y install --disablerepo "*" --enablerepo "${REPOLIST}" --setopt=install_weak_deps=False --best \
|
||||||
|
Loading…
Reference in New Issue
Block a user