Skip to content

Commit d7507da

Browse files
committed
Play with php versions on build local image, psr/http-message 2
1 parent 870af17 commit d7507da

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
ARG PHP_VERSION
1+
ARG PHP_VERSION=8.3
22

33
FROM php:${PHP_VERSION}-cli
44

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ $(shell cp -n dev.env .env)
33
include .env
44

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

88
install: build
99
composer install

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"psr/cache": "^1|^2|^3",
2727
"psr/container": "^1|^2",
2828
"psr/http-factory": "^1.0",
29-
"psr/http-message": "^1.0",
29+
"psr/http-message": "^1.0|^2.0",
3030
"psr/http-server-handler": "^1.0",
3131
"psr/http-server-middleware": "^1.0",
3232
"rakit/validation": "^1.2",

dev.env

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
PHP_VERSION=8.0
1+
PHP_VERSION=8.3

0 commit comments

Comments
 (0)