Skip to content

Commit

Permalink
Use EPEL to install fping instead of custom package (CentOS)
Browse files Browse the repository at this point in the history
  • Loading branch information
dotneft committed Sep 7, 2020
1 parent 0d97236 commit 1fdd3c9
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 6 deletions.
3 changes: 2 additions & 1 deletion proxy-mysql/centos/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,9 @@ RUN set -eux && \
mkdir -p /usr/lib/zabbix/externalscripts && \
mkdir -p /usr/share/doc/zabbix-proxy-mysql && \
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 \
fping
libcurl \
libxml2 \
mariadb \
Expand Down
3 changes: 2 additions & 1 deletion proxy-sqlite3/centos/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,9 @@ RUN set -eux && \
mkdir -p /usr/lib/zabbix/externalscripts && \
mkdir -p /usr/share/doc/zabbix-proxy-sqlite3 && \
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 \
fping \
libcurl \
libxml2 \
net-snmp-libs \
Expand Down
5 changes: 3 additions & 2 deletions server-mysql/centos/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,10 @@ RUN set -eux && \
mkdir -p /usr/lib/zabbix/externalscripts && \
mkdir -p /usr/share/doc/zabbix-server-mysql && \
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 \
https://repo.zabbix.com/non-supported/rhel/7/x86_64/fping-3.10-1.el7.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 && \
yum -y install epel-release && \
yum -y install --setopt=tsflags=nodocs \
fping \
tzdata \
iputils \
traceroute \
Expand Down
5 changes: 3 additions & 2 deletions server-pgsql/centos/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,10 @@ RUN set -eux && \
mkdir -p /usr/lib/zabbix/externalscripts && \
mkdir -p /usr/share/doc/zabbix-server-postgresql && \
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 \
https://repo.zabbix.com/non-supported/rhel/7/x86_64/fping-3.10-1.el7.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 && \
yum -y install epel-release && \
yum -y install --setopt=tsflags=nodocs \
fping \
iputils \
tzdata \
traceroute \
Expand Down

0 comments on commit 1fdd3c9

Please sign in to comment.