Add the base docker image to w3c context validation tests (#673)

Use the base docker image in the docker-compose file of the W3C context
validation tests to speed up the test set up
This commit is contained in:
Yukti 2022-05-07 04:33:42 +05:30 committed by GitHub
parent 25cfcfb6e9
commit 85282b5af4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 4 deletions

View File

@ -1,10 +1,12 @@
version: '3.7'
services:
php:
user: root
build:
context: .
dockerfile: docker/Dockerfile
image: ghcr.io/open-telemetry/opentelemetry-php/opentelemetry-php-base:${PHP_VERSION:-7.4}
volumes:
- ./:/usr/src/myapp
- ./:/usr/src/open-telemetry/
user: "${PHP_USER}:root"
environment:
XDEBUG_MODE: ${XDEBUG_MODE:-off}
XDEBUG_CONFIG: ${XDEBUG_CONFIG:-''}