summaryrefslogtreecommitdiff
path: root/docker-compose.yml
blob: 4a8aea443de7345386e09835f62b15338273c1b8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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: