Use EPEL to install fping instead of custom package (CentOS)

This commit is contained in:
Alexey Pustovalov 2020-09-08 00:22:24 +03:00
parent 0d972361c2
commit 1fdd3c98d9
4 changed files with 10 additions and 6 deletions

View File

@ -31,8 +31,9 @@ RUN set -eux && \
mkdir -p /usr/lib/zabbix/externalscripts && \ mkdir -p /usr/lib/zabbix/externalscripts && \
mkdir -p /usr/share/doc/zabbix-proxy-mysql && \ mkdir -p /usr/share/doc/zabbix-proxy-mysql && \
yum --quiet makecache && \ yum --quiet makecache && \
yum -y install https://repo.zabbix.com/non-supported/rhel/7/x86_64/fping-3.10-1.el7.x86_64.rpm --setopt=tsflags=nodocs && \ yum -y install epel-release && \
yum -y install --setopt=tsflags=nodocs \ yum -y install --setopt=tsflags=nodocs \
fping
libcurl \ libcurl \
libxml2 \ libxml2 \
mariadb \ mariadb \

View File

@ -31,8 +31,9 @@ RUN set -eux && \
mkdir -p /usr/lib/zabbix/externalscripts && \ mkdir -p /usr/lib/zabbix/externalscripts && \
mkdir -p /usr/share/doc/zabbix-proxy-sqlite3 && \ mkdir -p /usr/share/doc/zabbix-proxy-sqlite3 && \
yum --quiet makecache && \ yum --quiet makecache && \
yum -y install https://repo.zabbix.com/non-supported/rhel/7/x86_64/fping-3.10-1.el7.x86_64.rpm --setopt=tsflags=nodocs && \ yum -y install epel-release && \
yum -y install --setopt=tsflags=nodocs \ yum -y install --setopt=tsflags=nodocs \
fping \
libcurl \ libcurl \
libxml2 \ libxml2 \
net-snmp-libs \ net-snmp-libs \

View File

@ -33,9 +33,10 @@ RUN set -eux && \
mkdir -p /usr/lib/zabbix/externalscripts && \ mkdir -p /usr/lib/zabbix/externalscripts && \
mkdir -p /usr/share/doc/zabbix-server-mysql && \ mkdir -p /usr/share/doc/zabbix-server-mysql && \
yum --quiet makecache && \ yum --quiet makecache && \
yum -y install --setopt=tsflags=nodocs https://repo.zabbix.com/non-supported/rhel/7/x86_64/iksemel-1.4-2.el7.centos.x86_64.rpm \ yum -y install --setopt=tsflags=nodocs https://repo.zabbix.com/non-supported/rhel/7/x86_64/iksemel-1.4-2.el7.centos.x86_64.rpm && \
https://repo.zabbix.com/non-supported/rhel/7/x86_64/fping-3.10-1.el7.x86_64.rpm && \ yum -y install epel-release && \
yum -y install --setopt=tsflags=nodocs \ yum -y install --setopt=tsflags=nodocs \
fping \
tzdata \ tzdata \
iputils \ iputils \
traceroute \ traceroute \

View File

@ -33,9 +33,10 @@ RUN set -eux && \
mkdir -p /usr/lib/zabbix/externalscripts && \ mkdir -p /usr/lib/zabbix/externalscripts && \
mkdir -p /usr/share/doc/zabbix-server-postgresql && \ mkdir -p /usr/share/doc/zabbix-server-postgresql && \
yum --quiet makecache && \ yum --quiet makecache && \
yum -y install --setopt=tsflags=nodocs https://repo.zabbix.com/non-supported/rhel/7/x86_64/iksemel-1.4-2.el7.centos.x86_64.rpm \ yum -y install --setopt=tsflags=nodocs https://repo.zabbix.com/non-supported/rhel/7/x86_64/iksemel-1.4-2.el7.centos.x86_64.rpm && \
https://repo.zabbix.com/non-supported/rhel/7/x86_64/fping-3.10-1.el7.x86_64.rpm && \ yum -y install epel-release && \
yum -y install --setopt=tsflags=nodocs \ yum -y install --setopt=tsflags=nodocs \
fping \
iputils \ iputils \
tzdata \ tzdata \
traceroute \ traceroute \