2017-12-07 04:19:02 +00:00
|
|
|
# NAME leenooks/php
|
2021-03-09 04:28:12 +00:00
|
|
|
# VERSION 7.4-fpm-ext
|
2017-12-07 04:19:02 +00:00
|
|
|
|
2021-03-09 04:28:12 +00:00
|
|
|
FROM registry.leenooks.net/leenooks/php:7.4-fpm-plus
|
2018-01-29 04:30:27 +00:00
|
|
|
|
2021-03-09 04:31:15 +00:00
|
|
|
RUN mv /sbin/init /sbin/init.tmp \
|
|
|
|
&& 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 \
|
2020-04-02 06:14:57 +00:00
|
|
|
libsnmp-dev snmp-mibs-downloader --no-install-recommends \
|
2018-01-29 04:45:59 +00:00
|
|
|
&& download-mibs \
|
|
|
|
&& docker-php-ext-install -j$(nproc) snmp \
|
2021-03-09 04:31:15 +00:00
|
|
|
&& apt purge -yqq systemd-sysv dconf-service \
|
|
|
|
&& apt autoremove -yqq \
|
|
|
|
&& rm -rf /var/lib/apt/lists/* /tmp/* \
|
|
|
|
&& mv /sbin/init.tmp /sbin/init
|
2020-04-03 06:00:24 +00:00
|
|
|
|
|
|
|
# Add in Leenooks' apt repository
|
2021-03-03 03:06:59 +00:00
|
|
|
RUN curl -sL http://apt.leenooks.net/setup.sh | DISTRO=buster bash
|
2020-04-03 06:00:24 +00:00
|
|
|
|
2021-03-09 04:31:15 +00:00
|
|
|
RUN mv /sbin/init /sbin/init.tmp \
|
|
|
|
&& apt-get update \
|
2021-03-03 04:00:02 +00:00
|
|
|
&& apt-get install -yqq wkhtmltopdf \
|
2021-03-09 04:31:15 +00:00
|
|
|
&& apt purge -yqq systemd-sysv dconf-service \
|
|
|
|
&& apt autoremove -yqq \
|
|
|
|
&& rm -rf /var/lib/apt/lists/* /tmp/* \
|
|
|
|
&& mv /sbin/init.tmp /sbin/init
|