Change for php8.0

php8.0
Florestan Bredow 2020-12-09 08:25:48 +01:00
parent 00c7bb9358
commit 14076d855e
2 changed files with 5 additions and 4 deletions

View File

@ -16,7 +16,7 @@ mailcatcher:
- 1080:1080
php:
build: phpfpm
build: phpfpm-8.0
volumes:
- ~/public:/var/www/html
- ./data/log/xdebug:/var/log/xdebug

View File

@ -1,4 +1,4 @@
FROM php:7.4-fpm-alpine
FROM php:8.0-fpm-alpine
RUN apk add --update --no-cache \
build-base \
@ -9,7 +9,8 @@ RUN apk add --update --no-cache \
freetype-dev \
libzip-dev \
oniguruma-dev \
ssmtp
ssmtp \
fish
ENV LIBRARY_PATH=/lib:/usr/lib
@ -24,4 +25,4 @@ RUN docker-php-ext-configure gd --with-freetype=/usr/include/ --with-jpeg=/usr/i
pdo_mysql \
mbstring \
&& pecl install xdebug \
&& docker-php-ext-enable xdebug
&& docker-php-ext-enable xdebug