summaryrefslogtreecommitdiff
path: root/docker-compose.yml
blob: 8bbdb512bdc1d3775f766713637ecfcc74ad7bdf (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
25
26
27
28
x-test: &test
  environment:
    - COMPOSER_FLAGS=${COMPOSER_FLAGS:-}
  volumes:
    - .:/app:ro
    - composer-cache:/root/.composer
  working_dir: /app
  command: sh scripts/test.sh

services:
  php82:
    <<: *test
    image: php:8.2-cli-alpine

  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: