summaryrefslogtreecommitdiff
path: root/docker-compose.yml
blob: 7a38dc4170cb11c43d424caecd1f7072e0c98946 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
x-test: &test
  environment:
    - COMPOSER_FLAGS=${COMPOSER_FLAGS:-}
  volumes:
    - .:/app:ro
    - composer-cache:/root/.composer
  working_dir: /app
  command: sh scripts/test.sh

services:
  php83:
    <<: *test
    image: php:8.3-cli-alpine

  php84:
    <<: *test
    image: php:8.4-cli-alpine

  php85:
    <<: *test
    image: php:8.5-cli-alpine

volumes:
  composer-cache: