docker-compose-sample/php-fpm/Dockerfile

6 lines
305 B
Docker
Raw Permalink Normal View History

2020-04-14 15:34:34 +00:00
FROM php:fpm-alpine
RUN adduser -u 1100 -D -H web-user \
&& sed -i -E 's/(user.+=).+/\1 web-user/' /usr/local/etc/php-fpm.d/www.conf \
&& apk add --no-cache icu-dev oniguruma-dev zlib-dev libpng-dev libzip-dev \
&& docker-php-ext-install mysqli pdo pdo_mysql intl mbstring ctype gd json session zip