Skip to content

Commit

Permalink
update requirements (#4)
Browse files Browse the repository at this point in the history
* update requirements to allow php8.2
  • Loading branch information
adnanmula authored Aug 28, 2023
1 parent 83d9d06 commit 058c9ad
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM php:8.0-cli-alpine3.13 AS php8
FROM php:8.2-fpm-alpine3.18 as php8

ADD https://github.com/mlocati/docker-php-extension-installer/releases/latest/download/install-php-extensions /usr/local/bin
RUN apk update \
Expand All @@ -15,9 +15,9 @@ FROM php:7.4.29-cli-alpine3.15 AS php7
ADD https://github.com/mlocati/docker-php-extension-installer/releases/latest/download/install-php-extensions /usr/local/bin
RUN apk update \
&& chmod +x /usr/local/bin/install-php-extensions \
&& /usr/local/bin/install-php-extensions zip-stable xdebug-stable \
&& /usr/local/bin/install-php-extensions zip-stable xdebug-3.1.6 \
&& curl -sS https://getcomposer.org/installer | php -- --install-dir=/usr/bin/ --filename=composer

ENV PATH /var/app/bin:/var/app/vendor/bin:$PATH

WORKDIR /var/app
WORKDIR /var/app
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 | ^8.0",
"php": "^7.4 | ^8",
"ext-json": "*",
"symfony/http-foundation": ">=4.4 <=6",
"symfony/dependency-injection": ">=4.4 <=6",
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ services:
target: php8
volumes:
- .:/var/app
- ~/.composer:/.composer
- ~/.composer:/.composer

0 comments on commit 058c9ad

Please sign in to comment.