php-fpm/Dockerfile
Jay 4f358d2f83
All checks were successful
continuous-integration/drone/push Build is passing
[feat] add php psql
2020-08-15 05:06:31 +00:00

9 lines
422 B
Docker

FROM php:7-fpm-alpine
WORKDIR /var/www
RUN apk add --no-cache libcurl curl-dev libpng libpng-dev icu-dev libzip libzip-dev shadow freetype freetype-dev libpq postgresql-dev \
&& usermod -u 1000 www-data && groupmod -g 1000 www-data \
&& docker-php-ext-configure gd --with-freetype \
&& docker-php-ext-install ctype curl gd iconv intl mysqli pdo pdo_mysql zip exif pdo_pgsql pgsql
COPY ./php.ini /usr/local/etc/php/