|
@@ -11,7 +11,7 @@ ARG ZABBIX_VERSION=4.0
|
11
|
11
|
RUN sed -i 's/main/main non-free/' /etc/apt/sources.list
|
12
|
12
|
|
13
|
13
|
RUN if [ "$(uname -m)" = "x86_64" ]; then echo -n "debian"; else echo -n "raspbian"; fi > /tmp/distrib &&\
|
14
|
|
- wget http://repo.zabbix.com/zabbix/${ZABBIX_VERSION}/$(cat /tmp/distrib)/pool/main/z/zabbix-release/zabbix-release_${ZABBIX_VERSION}-1+stretch_all.deb -O /tmp/zabbix.deb &&\
|
|
14
|
+ wget http://repo.zabbix.com/zabbix/${ZABBIX_VERSION}/$(cat /tmp/distrib)/pool/main/z/zabbix-release/zabbix-release_${ZABBIX_VERSION}-2+stretch_all.deb -O /tmp/zabbix.deb &&\
|
15
|
15
|
rm /tmp/distrib &&\
|
16
|
16
|
dpkg -i /tmp/zabbix.deb
|
17
|
17
|
|