Change for php8.0
This commit is contained in:
28
phpfpm-8.0/Dockerfile
Normal file
28
phpfpm-8.0/Dockerfile
Normal file
@@ -0,0 +1,28 @@
|
||||
FROM php:8.0-fpm-alpine
|
||||
|
||||
RUN apk add --update --no-cache \
|
||||
build-base \
|
||||
autoconf \
|
||||
jpeg-dev \
|
||||
zlib-dev \
|
||||
libpng-dev \
|
||||
freetype-dev \
|
||||
libzip-dev \
|
||||
oniguruma-dev \
|
||||
ssmtp \
|
||||
fish
|
||||
|
||||
ENV LIBRARY_PATH=/lib:/usr/lib
|
||||
|
||||
RUN docker-php-ext-configure gd --with-freetype=/usr/include/ --with-jpeg=/usr/include/ \
|
||||
&& docker-php-ext-install -j$(nproc) \
|
||||
iconv \
|
||||
gd \
|
||||
zip \
|
||||
sockets \
|
||||
mysqli \
|
||||
pdo \
|
||||
pdo_mysql \
|
||||
mbstring \
|
||||
&& pecl install xdebug \
|
||||
&& docker-php-ext-enable xdebug
|
Reference in New Issue
Block a user