Added fping, updated to stretch

This commit is contained in:
Deon George 2018-03-04 23:48:12 +11:00
parent 4ecbcfe835
commit 6d6abf85ab

View File

@ -3,8 +3,8 @@
FROM registry.leenooks.net/leenooks/php:7.2-fpm-plus
RUN echo "deb http://deb.debian.org/debian jessie non-free" >> /etc/apt/sources.list.d/non-free.list && apt-get update \
&& apt-get install -y pkg-config libsnmp-dev snmp-mibs-downloader --no-install-recommends \
RUN echo "deb http://deb.debian.org/debian stretch non-free" >> /etc/apt/sources.list.d/non-free.list && apt-get update \
&& apt-get install -y inetutils-ping fping pkg-config libsnmp-dev snmp-mibs-downloader --no-install-recommends \
&& download-mibs \
&& docker-php-ext-install -j$(nproc) snmp \
&& rm -rf /var/lib/apt/lists/* /tmp/*