15 lines
435 B
Docker
15 lines
435 B
Docker
FROM php:8.1-fpm-alpine
|
|
|
|
RUN apk update && \
|
|
apk add --no-cache git zip
|
|
|
|
RUN curl --silent --show-error https://getcomposer.org/installer | php && \
|
|
mv composer.phar /usr/local/bin/composer
|
|
|
|
# Uncomment to have mysqli extension installed and enabled
|
|
RUN docker-php-ext-install mysqli && docker-php-ext-enable mysqli
|
|
|
|
RUN apk add --no-cache pcre-dev $PHPIZE_DEPS && \
|
|
pecl install redis && \
|
|
docker-php-ext-enable redis
|