docker-scripts/linux/advanced/zabbix/proxy/Dockerfile

42 lines
1.0 KiB
Docker
Raw Normal View History

2020-09-11 01:55:15 +03:00
FROM zabbix/zabbix-proxy-sqlite3:ubuntu-latest
ENV DEBIAN_FRONTEND noninteractive
USER root
2020-11-24 16:19:52 +03:00
##################################################################
# editing sources list
##################################################################
2020-09-11 01:55:15 +03:00
COPY sources.list /etc/apt/sources.list
COPY locale.gen /etc/locale.gen
2020-11-24 16:19:52 +03:00
##################################################################
# installing utils
##################################################################
2020-09-11 01:55:15 +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 \
sudo \
php-cli \
php-curl \
telnet \
nmap && \
echo "zabbix ALL=(ALL) NOPASSWD: /usr/bin/nmap" > /etc/sudoers.d/zabbix