Added nmap and traceroute utilities to server / proxy images

This commit is contained in:
Alexey Pustovalov 2022-07-20 17:37:00 +03:00
parent 543b93f8b9
commit 79f91a9d7b
19 changed files with 38 additions and 0 deletions

View File

@ -36,6 +36,8 @@ COPY --from=builder ["/tmp/zabbix-${ZBX_VERSION}/database/mysql/create_proxy.sql
RUN set -eux && \ RUN set -eux && \
INSTALL_PKGS="bash \ INSTALL_PKGS="bash \
tini \ tini \
traceroute \
nmap \
iputils \ iputils \
libcurl \ libcurl \
libevent \ libevent \

View File

@ -37,6 +37,8 @@ RUN set -eux && \
REPOLIST="baseos,appstream,epel" && \ REPOLIST="baseos,appstream,epel" && \
INSTALL_PKGS="libevent \ INSTALL_PKGS="libevent \
tini \ tini \
traceroute \
nmap \
gzip \ gzip \
libssh \ libssh \
file-libs \ file-libs \

View File

@ -37,6 +37,8 @@ COPY ["conf/etc/yum.repos.d/oracle-epel-ol8.repo", "/etc/yum.repos.d/oracle-epel
RUN set -eux && \ RUN set -eux && \
INSTALL_PKGS="libevent \ INSTALL_PKGS="libevent \
tini \ tini \
traceroute \
nmap \
gzip \ gzip \
libssh \ libssh \
file-libs \ file-libs \

View File

@ -55,6 +55,8 @@ COPY --from=builder ["/tmp/zabbix-${ZBX_VERSION}/database/mysql/create_proxy.sql
RUN set -eux && \ RUN set -eux && \
INSTALL_PKGS="bash \ INSTALL_PKGS="bash \
tini \ tini \
traceroute \
nmap \
shadow-utils \ shadow-utils \
fping \ fping \
iputils \ iputils \

View File

@ -37,6 +37,8 @@ COPY --from=builder ["/tmp/zabbix-${ZBX_VERSION}/database/mysql/create_proxy.sql
RUN set -eux && \ RUN set -eux && \
echo "#!/bin/sh\nexit 101" > /usr/sbin/policy-rc.d && \ echo "#!/bin/sh\nexit 101" > /usr/sbin/policy-rc.d && \
INSTALL_PKGS="tini \ INSTALL_PKGS="tini \
traceroute \
nmap \
ca-certificates \ ca-certificates \
fping \ fping \
libcurl4 \ libcurl4 \

View File

@ -35,6 +35,8 @@ COPY --from=builder ["/tmp/zabbix-${ZBX_VERSION}/conf/zabbix_proxy.conf", "/etc/
RUN set -eux && \ RUN set -eux && \
INSTALL_PKGS="bash \ INSTALL_PKGS="bash \
tini \ tini \
traceroute \
nmap \
fping \ fping \
iputils \ iputils \
libcurl \ libcurl \

View File

@ -36,6 +36,8 @@ RUN set -eux && \
REPOLIST="baseos,appstream,epel" && \ REPOLIST="baseos,appstream,epel" && \
INSTALL_PKGS="libevent \ INSTALL_PKGS="libevent \
tini \ tini \
traceroute \
nmap \
libssh \ libssh \
fping \ fping \
file-libs \ file-libs \

View File

@ -36,6 +36,8 @@ COPY ["conf/etc/yum.repos.d/oracle-epel-ol8.repo", "/etc/yum.repos.d/oracle-epel
RUN set -eux && \ RUN set -eux && \
INSTALL_PKGS="libevent \ INSTALL_PKGS="libevent \
tini \ tini \
traceroute \
nmap \
libssh \ libssh \
fping \ fping \
file-libs \ file-libs \

View File

@ -54,6 +54,8 @@ COPY --from=builder ["/tmp/zabbix-${ZBX_VERSION}/conf/zabbix_proxy.conf", "/etc/
RUN set -eux && \ RUN set -eux && \
INSTALL_PKGS="bash \ INSTALL_PKGS="bash \
tini \ tini \
traceroute \
nmap \
shadow-utils \ shadow-utils \
fping \ fping \
iputils \ iputils \

View File

@ -36,6 +36,8 @@ RUN set -eux && \
echo "#!/bin/sh\nexit 101" > /usr/sbin/policy-rc.d && \ echo "#!/bin/sh\nexit 101" > /usr/sbin/policy-rc.d && \
INSTALL_PKGS="bash \ INSTALL_PKGS="bash \
tini \ tini \
traceroute \
nmap \
ca-certificates \ ca-certificates \
fping \ fping \
libcurl4 \ libcurl4 \

View File

@ -37,6 +37,8 @@ RUN set -eux && \
INSTALL_PKGS="bash \ INSTALL_PKGS="bash \
tini \ tini \
fping \ fping \
traceroute \
nmap \
tzdata \ tzdata \
iputils \ iputils \
libcurl \ libcurl \

View File

@ -37,6 +37,8 @@ RUN set -eux && \
REPOLIST="baseos,appstream,epel" && \ REPOLIST="baseos,appstream,epel" && \
INSTALL_PKGS="fping \ INSTALL_PKGS="fping \
tini \ tini \
traceroute \
nmap \
file-libs \ file-libs \
tzdata \ tzdata \
iputils \ iputils \

View File

@ -38,6 +38,8 @@ RUN set -eux && \
INSTALL_PKGS="bash \ INSTALL_PKGS="bash \
fping \ fping \
tini \ tini \
traceroute \
nmap \
file-libs \ file-libs \
tzdata \ tzdata \
iputils \ iputils \

View File

@ -55,6 +55,8 @@ COPY --from=builder ["/tmp/zabbix-${ZBX_VERSION}/database/mysql/create_server.sq
RUN set -eux && \ RUN set -eux && \
INSTALL_PKGS="bash \ INSTALL_PKGS="bash \
tini \ tini \
traceroute \
nmap \
fping \ fping \
shadow-utils \ shadow-utils \
tzdata \ tzdata \

View File

@ -37,6 +37,8 @@ RUN set -eux && \
echo "#!/bin/sh\nexit 101" > /usr/sbin/policy-rc.d && \ echo "#!/bin/sh\nexit 101" > /usr/sbin/policy-rc.d && \
INSTALL_PKGS="bash \ INSTALL_PKGS="bash \
tini \ tini \
traceroute \
nmap \
tzdata \ tzdata \
ca-certificates \ ca-certificates \
iputils-ping \ iputils-ping \

View File

@ -37,6 +37,8 @@ COPY --from=builder ["/tmp/zabbix-${ZBX_VERSION}/database/postgresql/timescaledb
RUN set -eux && \ RUN set -eux && \
INSTALL_PKGS="bash \ INSTALL_PKGS="bash \
tini \ tini \
traceroute \
nmap \
fping \ fping \
tzdata \ tzdata \
iputils \ iputils \

View File

@ -39,6 +39,8 @@ RUN set -eux && \
INSTALL_PKGS="fping \ INSTALL_PKGS="fping \
file-libs \ file-libs \
tini \ tini \
traceroute \
nmap \
iputils \ iputils \
tzdata \ tzdata \
traceroute \ traceroute \

View File

@ -39,6 +39,8 @@ RUN set -eux && \
INSTALL_PKGS="fping \ INSTALL_PKGS="fping \
file-libs \ file-libs \
tini \ tini \
traceroute \
nmap \
iputils \ iputils \
tzdata \ tzdata \
traceroute \ traceroute \

View File

@ -38,6 +38,8 @@ RUN set -eux && \
echo "#!/bin/sh\nexit 101" > /usr/sbin/policy-rc.d && \ echo "#!/bin/sh\nexit 101" > /usr/sbin/policy-rc.d && \
INSTALL_PKGS="bash \ INSTALL_PKGS="bash \
tini \ tini \
traceroute \
nmap \
tzdata \ tzdata \
ca-certificates \ ca-certificates \
iputils-ping \ iputils-ping \