25 lines
586 B
Docker
25 lines
586 B
Docker
FROM php:7.1-fpm
|
|
MAINTAINER Andre Peters <andre.peters@servercow.de>
|
|
|
|
ENV DEBIAN_FRONTEND noninteractive
|
|
|
|
RUN apt-get update \
|
|
&& apt-get install -y zlib1g-dev libicu-dev g++ libidn11-dev libxml2-dev
|
|
|
|
RUN docker-php-ext-configure intl
|
|
RUN docker-php-ext-install intl pdo pdo_mysql xmlrpc
|
|
|
|
COPY ./docker-entrypoint.sh /
|
|
|
|
RUN usermod -a -G adm www-data
|
|
|
|
COPY postfix-logwatch /postfix-logwatch
|
|
COPY postfix-logwatch.conf /postfix-logwatch.conf
|
|
RUN chmod 777 /postfix-logwatch
|
|
RUN chmod 666 /postfix-logwatch.conf
|
|
|
|
EXPOSE 9000
|
|
|
|
ENTRYPOINT ["/docker-entrypoint.sh"]
|
|
CMD ["php-fpm"]
|