2024-02-10 13:47:12 +01:00
|
|
|
FROM debian/eol:jessie
|
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 's@\(^deb http://deb\..*\)$@#\1@' \
|
|
|
|
-e 's@\(^deb http://security\..*\)$@deb http://archive.debian.org/debian-security jessie/updates main@' \
|
|
|
|
/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 \
|
|
|
|
ca-certificates \
|
|
|
|
curl \
|
|
|
|
libnss-ldap \
|
2024-02-10 13:47:12 +01:00
|
|
|
lsof \
|
2018-11-11 13:57:42 +01:00
|
|
|
nullmailer \
|
|
|
|
php-apc \
|
|
|
|
php-mail \
|
|
|
|
php-mail-mime \
|
|
|
|
php-mail-mimedecode \
|
|
|
|
php-net-smtp \
|
|
|
|
php-net-socket \
|
|
|
|
php5-apcu \
|
|
|
|
php5-curl \
|
|
|
|
php5-fpm \
|
|
|
|
php5-gd \
|
|
|
|
php5-imagick \
|
|
|
|
php5-imap \
|
|
|
|
php5-json \
|
|
|
|
php5-mcrypt \
|
|
|
|
php5-pspell \
|
|
|
|
php5-sqlite \
|
|
|
|
psmisc \
|
|
|
|
&& apt-get clean \
|
|
|
|
&& rm -rf /var/lib/apt/lists/*.*
|
|
|
|
|
|
|
|
RUN curl -o dumb-init_1.2.2.deb -L https://github.com/Yelp/dumb-init/releases/download/v1.2.2/dumb-init_1.2.2_amd64.deb && \
|
|
|
|
dpkg -i dumb-init_1.2.2.deb && \
|
|
|
|
rm -f dumb-init_1.2.2.deb
|
|
|
|
|
|
|
|
ADD --chown=root:root nsswitch.conf libnss-ldap.conf /etc/
|
|
|
|
|
|
|
|
RUN rm -f /etc/php5/fpm/pool.d/www.conf
|