forked from leftypol/leftypol
docker: upgrade php to 8.0
This commit is contained in:
parent
6e962f91ad
commit
4e1654a1d3
1 changed files with 3 additions and 3 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Based on https://github.com/dead-guru/devichan/blob/master/php-fpm/Dockerfile
|
# Based on https://github.com/dead-guru/devichan/blob/master/php-fpm/Dockerfile
|
||||||
|
|
||||||
FROM composer AS composer
|
FROM composer AS composer
|
||||||
FROM php:7.2-fpm-alpine
|
FROM php:8.0-fpm-alpine
|
||||||
|
|
||||||
RUN apk add --no-cache \
|
RUN apk add --no-cache \
|
||||||
zlib \
|
zlib \
|
||||||
|
@ -32,8 +32,8 @@ RUN apk add --no-cache \
|
||||||
pcre-dev \
|
pcre-dev \
|
||||||
$PHPIZE_DEPS \
|
$PHPIZE_DEPS \
|
||||||
&& docker-php-ext-configure gd \
|
&& docker-php-ext-configure gd \
|
||||||
--with-webp-dir=/usr/include/webp \
|
--with-webp=/usr/include/webp \
|
||||||
--with-jpeg-dir=/usr/include \
|
--with-jpeg=/usr/include \
|
||||||
&& docker-php-ext-install -j$(nproc) \
|
&& docker-php-ext-install -j$(nproc) \
|
||||||
gd \
|
gd \
|
||||||
curl \
|
curl \
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue