Skip to content

Commit

Permalink
Play with php versions on build local image, psr/http-message 2
Browse files Browse the repository at this point in the history
  • Loading branch information
samizdam committed Nov 23, 2024
1 parent 870af17 commit d7507da
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG PHP_VERSION
ARG PHP_VERSION=8.3

FROM php:${PHP_VERSION}-cli

Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ $(shell cp -n dev.env .env)
include .env

build:
docker build --build-arg PHP_VERSION=${PHP_VERSION} -t free-elephants/json-api-php-toolkit .
docker build --build-arg PHP_VERSION=$(PHP_VERSION) -t free-elephants/json-api-php-toolkit .

install: build
composer install
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"psr/cache": "^1|^2|^3",
"psr/container": "^1|^2",
"psr/http-factory": "^1.0",
"psr/http-message": "^1.0",
"psr/http-message": "^1.0|^2.0",
"psr/http-server-handler": "^1.0",
"psr/http-server-middleware": "^1.0",
"rakit/validation": "^1.2",
Expand Down
2 changes: 1 addition & 1 deletion dev.env
Original file line number Diff line number Diff line change
@@ -1 +1 @@
PHP_VERSION=8.0
PHP_VERSION=8.3

0 comments on commit d7507da

Please sign in to comment.