2024-02-10 13:47:12 +01:00
|
|
|
FROM debian/eol:stretch
|
2018-11-11 13:57:42 +01:00
|
|
|
LABEL maintainer="jan@dittberner.info"
|
|
|
|
VOLUME /srv
|
|
|
|
|
2024-02-10 13:47:12 +01:00
|
|
|
RUN sed -i \
|
|
|
|
-e '/stretch-updates/d' \
|
|
|
|
-e 's@deb\.@archive.@' \
|
|
|
|
/etc/apt/sources.list \
|
|
|
|
&& apt-get update \
|
2018-11-11 13:57:42 +01:00
|
|
|
&& DEBIAN_FRONTEND=noninteractive \
|
|
|
|
apt-get install -y --no-install-recommends \
|
|
|
|
dumb-init \
|
|
|
|
libnss-ldap \
|
|
|
|
nullmailer \
|
|
|
|
php-curl \
|
|
|
|
php-fpm \
|
|
|
|
php-gd \
|
|
|
|
php-imagick \
|
|
|
|
php-imap \
|
|
|
|
php-json \
|
|
|
|
php-mail \
|
|
|
|
php-mail-mime \
|
|
|
|
php-mbstring \
|
|
|
|
php-mcrypt \
|
|
|
|
php-net-smtp \
|
|
|
|
php-net-socket \
|
|
|
|
php-opcache \
|
|
|
|
php-pspell \
|
|
|
|
php-sqlite3 \
|
|
|
|
psmisc \
|
|
|
|
&& apt-get clean \
|
|
|
|
&& rm -rf /var/lib/apt/lists/*.*
|
|
|
|
|
|
|
|
ADD --chown=root:root nsswitch.conf libnss-ldap.conf /etc/
|
|
|
|
|
|
|
|
RUN rm -f /etc/php/7.0/fpm/pool.d/www.conf
|