diff options
Diffstat (limited to 'docker-compose.yml')
| -rw-r--r-- | docker-compose.yml | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..4a8aea4 --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,20 @@ +x-test: &test + environment: + - COMPOSER_FLAGS=${COMPOSER_FLAGS:-} + volumes: + - .:/app:ro + - composer-cache:/root/.composer + working_dir: /app + command: sh scripts/test.sh + +services: + php84: + <<: *test + image: php:8.4-cli-alpine + + php85: + <<: *test + image: php:8.5-cli-alpine + +volumes: + composer-cache: |
