Skip to content

Commit 6d6d533

Browse files
authored
Merge pull request #1 from PcComponentes/add-php-8-support
Add php 8 support
2 parents 2947b05 + 5d59bac commit 6d6d533

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM php:7.4-cli-alpine3.11
1+
FROM php:8.0-cli-alpine3.13
22

33
RUN apk add --no-cache \
44
libzip-dev \
@@ -9,7 +9,7 @@ RUN apk add --no-cache \
99
RUN curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/bin/ --filename=composer
1010

1111
RUN apk add --no-cache --virtual .phpize_deps $PHPIZE_DEPS && \
12-
pecl install xdebug-2.9.2 && \
12+
pecl install xdebug 3 && \
1313
docker-php-ext-enable xdebug && \
1414
rm -rf /usr/share/php7 && \
1515
rm -rf /tmp/pear && \

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
}
2121
},
2222
"require": {
23-
"php": "^7.4",
23+
"php": "^7.4 | ^8.0",
2424
"pccomponentes/transaction": "^1.0",
2525
"doctrine/dbal": "^2.10"
2626
},

0 commit comments

Comments
 (0)