2020-03-01 20:51:14 +00:00
|
|
|
FROM php:fpm-alpine
|
|
|
|
|
2020-05-06 13:04:59 +01:00
|
|
|
RUN apk update && apk add gettext-dev icu-dev zlib-dev libpng-dev gmp-dev \
|
|
|
|
postgresql-dev postgresql-client composer > /dev/null
|
2020-03-01 20:51:14 +00:00
|
|
|
|
2020-05-05 02:23:55 +01:00
|
|
|
ARG exts=" bcmath exif gd gettext gmp intl mysqli opcache pdo_mysql"
|
2020-03-01 20:51:14 +00:00
|
|
|
|
2020-03-01 23:55:54 +00:00
|
|
|
RUN apk add --virtual .phpize-deps $PHPIZE_DEPS \
|
|
|
|
&& rm -rf /usr/share/php7 \
|
|
|
|
&& rm -rf /tmp/* \
|
2020-05-05 02:23:55 +01:00
|
|
|
&& apk del .phpize-deps > /dev/null
|
2020-03-01 23:55:54 +00:00
|
|
|
|
|
|
|
RUN docker-php-ext-install ${exts}
|