diff --git a/Makefile b/Makefile index 5b71997bc..56a1b3950 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ include .env -PHP_VERSION ?= 8.0 -DOCKER_COMPOSE ?= docker-compose +PHP_VERSION ?= 8.1 +DOCKER_COMPOSE ?= docker compose DC_RUN_PHP = $(DOCKER_COMPOSE) run --rm php .DEFAULT_GOAL : help @@ -15,7 +15,7 @@ all-checks: rector style deptrac packages-composer phan psalm phpstan test ## Ru pull: ## Pull latest developer image $(DOCKER_COMPOSE) pull php build: ## Build developer image locally - docker build docker/ --build-arg PHP_VERSION -t ghcr.io/open-telemetry/opentelemetry-php/opentelemetry-php-base:${PHP_VERSION} + docker build docker/ --build-arg PHP_VERSION=${PHP_VERSION} -t ghcr.io/open-telemetry/opentelemetry-php/opentelemetry-php-base:${PHP_VERSION} install: ## Install dependencies $(DC_RUN_PHP) env XDEBUG_MODE=off composer install update: ## Update dependencies diff --git a/docker-compose.collector.yaml b/docker-compose.collector.yaml index 2a5cbf698..88540febf 100644 --- a/docker-compose.collector.yaml +++ b/docker-compose.collector.yaml @@ -1,7 +1,7 @@ version: '3.7' services: php: - image: ghcr.io/open-telemetry/opentelemetry-php/opentelemetry-php-base:${PHP_VERSION:-8.0} + image: ghcr.io/open-telemetry/opentelemetry-php/opentelemetry-php-base:${PHP_VERSION:-8.1} volumes: - ./:/usr/src/myapp depends_on: diff --git a/docker-compose.w3cTraceContext.yaml b/docker-compose.w3cTraceContext.yaml index 6d0e3680f..a7120f027 100644 --- a/docker-compose.w3cTraceContext.yaml +++ b/docker-compose.w3cTraceContext.yaml @@ -1,7 +1,7 @@ version: '3.7' services: php: - image: ghcr.io/open-telemetry/opentelemetry-php/opentelemetry-php-base:${PHP_VERSION:-8.0} + image: ghcr.io/open-telemetry/opentelemetry-php/opentelemetry-php-base:${PHP_VERSION:-8.1} volumes: - ./:/usr/src/myapp - ./:/usr/src/open-telemetry/ diff --git a/docker-compose.yaml b/docker-compose.yaml index 6e71fff7a..c42349ea1 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -1,7 +1,7 @@ version: '3.7' services: php: - image: ghcr.io/open-telemetry/opentelemetry-php/opentelemetry-php-base:${PHP_VERSION:-8.0} + image: ghcr.io/open-telemetry/opentelemetry-php/opentelemetry-php-base:${PHP_VERSION:-8.1} volumes: - ./:/usr/src/myapp user: "${PHP_USER}:root"