2019-04-10 12:46:47 +03:00
|
|
|
FROM zabbix/zabbix-server-mysql:ubuntu-latest
|
|
|
|
ENV DEBIAN_FRONTEND noninteractive
|
2019-08-15 20:52:12 +03:00
|
|
|
|
2020-04-30 16:09:48 +03:00
|
|
|
USER root
|
|
|
|
|
2020-11-24 16:19:52 +03:00
|
|
|
##################################################################
|
|
|
|
# editing sources list
|
|
|
|
##################################################################
|
2019-08-15 20:52:12 +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
|
|
|
|
##################################################################
|
2019-10-01 12:29:35 +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:09:48 +03:00
|
|
|
sudo \
|
2019-10-01 12:29:35 +03:00
|
|
|
php-cli \
|
|
|
|
php-curl \
|
2019-10-01 17:22:34 +03:00
|
|
|
telnet \
|
2019-10-01 12:29:35 +03:00
|
|
|
nmap && \
|
|
|
|
echo "zabbix ALL=(ALL) NOPASSWD: /usr/bin/nmap" > /etc/sudoers.d/zabbix
|