mailcow/data/Dockerfiles/php-fpm/Dockerfile

19 lines
498 B
Docker
Raw Normal View History

2016-12-14 08:51:43 +01:00
FROM php:7.1-fpm
MAINTAINER Andre Peters <andre.peters@servercow.de>
ENV DEBIAN_FRONTEND noninteractive
RUN apt-get update \
2016-12-25 10:03:37 +01:00
&& apt-get install -y zlib1g-dev libicu-dev g++ libidn11-dev libxml2-dev
2016-12-14 08:51:43 +01:00
RUN docker-php-ext-configure intl
2016-12-25 10:03:37 +01:00
RUN docker-php-ext-install intl pdo pdo_mysql xmlrpc
2017-02-08 17:21:49 +01:00
RUN pear install channel://pear.php.net/Net_IDNA2-0.1.1 Auth_SASL Net_IMAP NET_SMTP Net_IDNA2 Mail_mime
2016-12-14 08:51:43 +01:00
COPY ./docker-entrypoint.sh /
2016-12-14 08:51:43 +01:00
EXPOSE 9000
ENTRYPOINT ["/docker-entrypoint.sh"]
2016-12-14 08:51:43 +01:00
CMD ["php-fpm"]