diff --git a/zabbix/agent/Dockerfile b/zabbix/agent/Dockerfile index f2f6bc47e..7282162a6 100644 --- a/zabbix/agent/Dockerfile +++ b/zabbix/agent/Dockerfile @@ -8,4 +8,29 @@ COPY sources.list /etc/apt/sources.list COPY locale.gen /etc/locale.gen # installing additional apps -RUN apt update -y && apt install -y --allow-unauthenticated ca-certificates gnupg sudo apt-transport-https lsb-release apt-utils locales console-cyrillic wget curl htop mc tmux iftop iputils-ping lsof lynx fontconfig smbclient nano php-cli php-curl +RUN apt update -y && \ + apt install -y --allow-unauthenticated \ + ca-certificates \ + gnupg \ + sudo \ + apt-transport-https \ + lsb-release \ + apt-utils \ + locales \ + console-cyrillic \ + wget \ + curl \ + htop \ + mc \ + tmux \ + iftop \ + iputils-ping \ + lsof lynx \ + fontconfig \ + smbclient \ + nano \ + php-cli \ + php-curl \ + telnet \ + nmap && \ + echo "zabbix ALL=(ALL) NOPASSWD: /usr/bin/nmap" > /etc/sudoers.d/zabbix