Skip to content

Commit 1c9475e

Browse files
authored
fix: allow switching php version (open-telemetry#344)
1 parent 56e4005 commit 1c9475e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docker-compose.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
services:
22
php:
3+
image: opentelemetry-php:local-${PHP_VERSION}-cli
34
build:
45
context: ./docker
56
dockerfile: Dockerfile
67
args:
7-
- PHP_VERSION
8+
- PHP_VERSION:${PHP_VERSION}
89
volumes:
910
- ./:/usr/src/myapp
1011
user: "${PHP_USER}:root"

0 commit comments

Comments
 (0)