6 lines
305 B
Docker
6 lines
305 B
Docker
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
|