2016-12-14 15:51:43 +08:00
|
|
|
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
|
|
|
|
|
|
|
|
RUN docker-php-ext-configure intl
|
|
|
|
RUN docker-php-ext-install intl pdo pdo_mysql
|
|
|
|
|
2016-12-18 03:31:59 +08:00
|
|
|
COPY ./docker-entrypoint.sh /
|
2016-12-14 15:51:43 +08:00
|
|
|
|
|
|
|
EXPOSE 9000
|
2016-12-18 03:31:59 +08:00
|
|
|
|
|
|
|
ENTRYPOINT ["/docker-entrypoint.sh"]
|
2016-12-14 15:51:43 +08:00
|
|
|
CMD ["php-fpm"]
|