FROM debian:bullseye LABEL maintainer="jan@dittberner.info" VOLUME /srv RUN apt-get update \ && DEBIAN_FRONTEND=noninteractive \ apt-get install -y --no-install-recommends \ ca-certificates \ dumb-init \ libnss-ldap \ nullmailer \ openssl \ php-mail-mime \ php-net-smtp \ php-net-socket \ php-mail \ php7.4 \ php7.4-curl \ php7.4-fpm \ php7.4-fpm \ php7.4-gd \ php7.4-imagick \ php7.4-imap \ php7.4-intl \ php7.4-json \ php7.4-mbstring \ php7.4-opcache \ php7.4-pspell \ php7.4-sqlite3 \ php7.4-zip \ psmisc \ && apt-get clean \ && rm -rf /var/lib/apt/lists/*.* ADD --chown=root:root nsswitch.conf libnss-ldap.conf /etc/