phpvms/resources/docker/php/Dockerfile

16 lines
279 B
Docker
Raw Normal View History

2019-05-12 23:51:06 +08:00
FROM php:7.3-fpm-alpine
2019-05-12 23:51:06 +08:00
#RUN apt-get update
#RUN apt-get install -y libgmp-dev
RUN apk add 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 \
pdo_mysql \
2019-05-12 23:10:31 +08:00
gmp \
opcache