2020-01-30 22:00:41 +08:00
|
|
|
FROM php:7.4-fpm-alpine
|
2019-05-11 07:40:07 +08:00
|
|
|
|
2020-01-28 23:12:40 +08:00
|
|
|
RUN apk add make gmp-dev
|
2019-05-11 08:31:11 +08:00
|
|
|
|
2019-05-12 23:10:31 +08:00
|
|
|
# Copy any config files in
|
|
|
|
COPY ext-opcache.ini $PHP_INI_DIR/conf.d/
|
|
|
|
|
2019-05-11 08:31:11 +08:00
|
|
|
RUN ln -sf /dev/stderr /var/log/fpm-error.log
|
2019-05-11 08:46:50 +08:00
|
|
|
|
|
|
|
RUN docker-php-ext-install \
|
2020-02-29 07:00:56 +08:00
|
|
|
bcmath \
|
2019-06-20 01:02:06 +08:00
|
|
|
calendar \
|
2019-05-11 08:46:50 +08:00
|
|
|
pdo_mysql \
|
2019-05-12 23:10:31 +08:00
|
|
|
gmp \
|
|
|
|
opcache
|