11 lines
415 B
Docker
11 lines
415 B
Docker
# NAME leenooks/php
|
|
# VERSION 7.2-fpm-ext
|
|
|
|
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 \
|
|
&& download-mibs \
|
|
&& docker-php-ext-install -j$(nproc) snmp \
|
|
&& rm -rf /var/lib/apt/lists/* /tmp/*
|