|
@@ -8,11 +8,13 @@ RUN apt-get update && apt-get -y install\
|
8
|
8
|
|
9
|
9
|
ARG ZABBIX_VERSION=3.4
|
10
|
10
|
|
|
11
|
+RUN sed -i 's/main/main non-free/' /etc/apt/sources.list
|
|
12
|
+
|
11
|
13
|
RUN wget http://repo.zabbix.com/zabbix/${ZABBIX_VERSION}/debian/pool/main/z/zabbix-release/zabbix-release_${ZABBIX_VERSION}-1+jessie_all.deb -O /tmp/zabbix.deb &&\
|
12
|
14
|
dpkg -i /tmp/zabbix.deb
|
13
|
15
|
|
14
|
16
|
RUN apt-get update && apt-get -y install\
|
15
|
|
- zabbix-server-pgsql zabbix-get\
|
|
17
|
+ zabbix-server-pgsql zabbix-get snmp snmp-mibs-downloader\
|
16
|
18
|
snmp &&\
|
17
|
19
|
apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
|
18
|
20
|
|