-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
120 lines (109 loc) · 2.52 KB
/
docker-compose.yml
File metadata and controls
120 lines (109 loc) · 2.52 KB
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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
name: params-util
x-perl-build: &perl-build
context: .devcontainer
x-perl-tester: &perl-tester
working_dir: /workspace
command:
- sh
- -ec
- |
cp -a /workspace/. /tmp/build/
cd /tmp/build
cpanm --notest --with-recommends --with-suggests Test::WriteVariants Config::AutoConf Carp inc::latest
perl Makefile.PL
make manifest dist DISTVNAME=dist
cpanm --notest --installdeps dist.tar.gz
cpanm --verbose --test-only dist.tar.gz
services:
dev:
build:
<<: *perl-build
args:
PERL_VERSION: "5.42"
image: params-util/perl-tester:5.42
working_dir: /workspace
volumes:
- .:/workspace
- cpanm-cache-dev:/home/perl/.cpanm
- locallib-dev:/opt/perl5
command: ["sleep", "infinity"]
perl-5.42:
<<: *perl-tester
build:
<<: *perl-build
args:
PERL_VERSION: "5.42"
image: params-util/perl-tester:5.42
volumes:
- .:/workspace:ro
- cpanm-cache-5.42:/home/perl/.cpanm
perl-5.40:
<<: *perl-tester
build:
<<: *perl-build
args:
PERL_VERSION: "5.40"
image: params-util/perl-tester:5.40
volumes:
- .:/workspace:ro
- cpanm-cache-5.40:/home/perl/.cpanm
perl-5.38:
<<: *perl-tester
build:
<<: *perl-build
args:
PERL_VERSION: "5.38"
image: params-util/perl-tester:5.38
volumes:
- .:/workspace:ro
- cpanm-cache-5.38:/home/perl/.cpanm
perl-5.36:
<<: *perl-tester
build:
<<: *perl-build
args:
PERL_VERSION: "5.36"
image: params-util/perl-tester:5.36
volumes:
- .:/workspace:ro
- cpanm-cache-5.36:/home/perl/.cpanm
perl-5.34:
<<: *perl-tester
build:
<<: *perl-build
args:
PERL_VERSION: "5.34"
image: params-util/perl-tester:5.34
volumes:
- .:/workspace:ro
- cpanm-cache-5.34:/home/perl/.cpanm
perl-5.32:
<<: *perl-tester
build:
<<: *perl-build
args:
PERL_VERSION: "5.32"
image: params-util/perl-tester:5.32
volumes:
- .:/workspace:ro
- cpanm-cache-5.32:/home/perl/.cpanm
perl-5.30:
<<: *perl-tester
build:
<<: *perl-build
args:
PERL_VERSION: "5.30"
image: params-util/perl-tester:5.30
volumes:
- .:/workspace:ro
- cpanm-cache-5.30:/home/perl/.cpanm
volumes:
cpanm-cache-dev:
locallib-dev:
cpanm-cache-5.30:
cpanm-cache-5.32:
cpanm-cache-5.34:
cpanm-cache-5.36:
cpanm-cache-5.38:
cpanm-cache-5.40:
cpanm-cache-5.42: