php/Dockerfile

19 lines
661 B
Docker
Raw Normal View History

2017-12-07 04:19:02 +00:00
# NAME leenooks/php
2020-08-04 22:15:53 +00:00
# VERSION 7.4-fpm-ext
2017-12-07 04:19:02 +00:00
2020-08-04 22:15:53 +00:00
FROM registry.leenooks.net/leenooks/php:7.4-fpm-plus
RUN echo "deb http://deb.debian.org/debian buster non-free" >> /etc/apt/sources.list.d/non-free.list && apt-get update \
2020-04-03 06:00:24 +00:00
&& apt-get install -y mariadb-client-10.3 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/*
2020-04-03 06:00:24 +00:00
# Add in Leenooks' apt repository
RUN curl -sL http://apt.leenooks.net/setup.sh | DISTRO=buster bash
2020-04-03 06:00:24 +00:00
RUN apt-get update \
&& apt-get install -yqq wkhtmltopdf \
2020-04-03 06:00:24 +00:00
&& rm -rf /var/lib/apt/lists/* /tmp/*