2017-05-29 08:45:30 +02:00
|
|
|
FROM php:7.1-fpm-alpine
|
2017-05-13 15:33:32 +02:00
|
|
|
LABEL maintainer "Andre Peters <andre.peters@servercow.de>"
|
2017-03-02 11:23:23 +01:00
|
|
|
|
2017-06-12 10:43:11 +02:00
|
|
|
RUN apk add -U --no-cache libxml2-dev \
|
|
|
|
icu-dev \
|
|
|
|
icu-libs \
|
|
|
|
redis \
|
|
|
|
mysql-client \
|
|
|
|
bash \
|
|
|
|
autoconf \
|
|
|
|
g++ \
|
|
|
|
make \
|
|
|
|
openssl
|
2017-06-12 17:06:57 +02:00
|
|
|
&& pecl install redis \
|
2017-06-12 10:43:11 +02:00
|
|
|
&& pecl clear-cache \
|
|
|
|
&& docker-php-ext-configure intl \
|
|
|
|
&& docker-php-ext-install intl pdo pdo_mysql xmlrpc \
|
|
|
|
&& docker-php-ext-enable redis \
|
|
|
|
&& pear install channel://pear.php.net/Net_IDNA2-0.1.1 Auth_SASL Net_IMAP NET_SMTP Net_IDNA2 Mail_mime \
|
|
|
|
&& apk del autoconf g++ make libxml2-dev icu-dev
|
2017-03-02 11:23:23 +01:00
|
|
|
|
2017-05-29 08:45:30 +02:00
|
|
|
COPY ./docker-entrypoint.sh /
|
2017-03-02 11:23:23 +01:00
|
|
|
|
|
|
|
EXPOSE 9000
|
|
|
|
|
|
|
|
ENTRYPOINT ["/docker-entrypoint.sh"]
|
2017-05-29 08:45:30 +02:00
|
|
|
CMD ["php-fpm"]
|