docker-scripts/zabbix/agent/Dockerfile

38 lines
733 B
Docker
Raw Normal View History

2019-08-16 12:33:35 +03:00
FROM zabbix/zabbix-agent:ubuntu-latest
ENV DEBIAN_FRONTEND noninteractive
2020-04-30 16:07:12 +03:00
USER root
2019-08-16 12:33:35 +03:00
#editing sources list
COPY sources.list /etc/apt/sources.list
COPY locale.gen /etc/locale.gen
# installing additional apps
2019-10-01 17:23:26 +03:00
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 \
2020-04-30 16:07:12 +03:00
sudo \
2019-10-01 17:23:26 +03:00
php-cli \
php-curl \
telnet \
nmap && \
echo "zabbix ALL=(ALL) NOPASSWD: /usr/bin/nmap" > /etc/sudoers.d/zabbix