mailcow/data/Dockerfiles/php-fpm/Dockerfile

20 lines
640 B
Docker
Raw Normal View History

2017-05-14 14:23:26 +02:00
FROM php:7.1-fpm-alpine
LABEL maintainer "Andre Peters <andre.peters@servercow.de>"
2017-03-02 11:23:23 +01:00
ARG DEBIAN_FRONTEND=noninteractive
2017-03-02 11:23:23 +01:00
2017-05-14 22:10:25 +02:00
RUN apk add -U --no-cache libxml2-dev icu-dev icu-libs redis mysql-client bash autoconf g++ make openssl
2017-05-14 14:23:26 +02:00
RUN pecl install redis && pecl clear-cache
2017-03-02 11:23:23 +01:00
RUN docker-php-ext-configure intl
RUN docker-php-ext-install intl pdo pdo_mysql xmlrpc
2017-05-14 14:23:26 +02:00
RUN docker-php-ext-enable redis
2017-03-02 11:23:23 +01:00
RUN pear install channel://pear.php.net/Net_IDNA2-0.1.1 Auth_SASL Net_IMAP NET_SMTP Net_IDNA2 Mail_mime
2017-05-14 20:15:34 +02:00
RUN apk del autoconf g++ make libxml2-dev icu-dev
2017-03-02 11:23:23 +01:00
COPY ./docker-entrypoint.sh /
EXPOSE 9000
ENTRYPOINT ["/docker-entrypoint.sh"]
CMD ["php-fpm"]