phpvms/resources/docker/php/Dockerfile

16 lines
253 B
Docker
Raw Normal View History

FROM php:7.4-fpm-alpine
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 \
bcmath \
calendar \
2019-05-11 08:46:50 +08:00
pdo_mysql \
2019-05-12 23:10:31 +08:00
gmp \
opcache