Skip to content

Commit

Permalink
Merge pull request #1 from PcComponentes/add-php-8-support
Browse files Browse the repository at this point in the history
Add php 8 support
  • Loading branch information
fjesteban authored Nov 18, 2021
2 parents 2947b05 + 5d59bac commit 6d6d533
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM php:7.4-cli-alpine3.11
FROM php:8.0-cli-alpine3.13

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

RUN apk add --no-cache --virtual .phpize_deps $PHPIZE_DEPS && \
pecl install xdebug-2.9.2 && \
pecl install xdebug 3 && \
docker-php-ext-enable xdebug && \
rm -rf /usr/share/php7 && \
rm -rf /tmp/pear && \
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
}
},
"require": {
"php": "^7.4",
"php": "^7.4 | ^8.0",
"pccomponentes/transaction": "^1.0",
"doctrine/dbal": "^2.10"
},
Expand Down

0 comments on commit 6d6d533

Please sign in to comment.