php/Dockerfile
Deon George d798579306 Revert "Update to PHP 8.0"
This reverts commit 106ed1d530.

Downgrade to PHP 7.4 to rebuild ext image
2021-03-09 15:28:12 +11:00

19 lines
661 B
Docker

# NAME leenooks/php
# VERSION 7.4-fpm-ext
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 \
&& 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/*
# Add in Leenooks' apt repository
RUN curl -sL http://apt.leenooks.net/setup.sh | DISTRO=buster bash
RUN apt-get update \
&& apt-get install -yqq wkhtmltopdf \
&& rm -rf /var/lib/apt/lists/* /tmp/*