phpvms/resources/docker/php/Dockerfile

15 lines
237 B
Docker

FROM php:7.3-fpm-alpine
RUN apk add gmp-dev
# Copy any config files in
COPY ext-opcache.ini $PHP_INI_DIR/conf.d/
RUN ln -sf /dev/stderr /var/log/fpm-error.log
RUN docker-php-ext-install \
calendar \
pdo_mysql \
gmp \
opcache