-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
106 lines (99 loc) · 2.95 KB
/
docker-compose.yml
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
version: '3.4'
x-common-args: &common-args
PYTHON_VERSION: ${PYTHON_VERSION}
CONAN_VERSION: ${CONAN_VERSION}
DOCKER_USERNAME: ${DOCKER_USERNAME}
DOCKER_TAG: ${DOCKER_TAG}
DISTRO: ${DISTRO}
DISTRO_VERSION: ${DISTRO_VERSION}
services:
gcc10: &gcc10
platform: ${PLATFORM}
image: ${DOCKER_USERNAME}/gcc10-${DISTRO}${DISTRO_VERSION}:latest
container_name: gcc10
build:
context: .
dockerfile: Dockerfile
tags:
- ${DOCKER_USERNAME}/gcc10-${DISTRO}${DISTRO_VERSION}:latest
- ${DOCKER_USERNAME}/gcc10-${DISTRO}${DISTRO_VERSION}:${DOCKER_TAG}
args:
<<: *common-args
COMPILER: gcc
COMPILER_VERSION: 10
tty: true
gcc11: &gcc11
platform: ${PLATFORM}
image: ${DOCKER_USERNAME}/gcc11-${DISTRO}${DISTRO_VERSION}:latest
container_name: gcc11
build:
context: .
dockerfile: Dockerfile
tags:
- ${DOCKER_USERNAME}/gcc11-${DISTRO}${DISTRO_VERSION}:latest
- ${DOCKER_USERNAME}/gcc11-${DISTRO}${DISTRO_VERSION}:${DOCKER_TAG}
args:
<<: *common-args
COMPILER: gcc
COMPILER_VERSION: 11
tty: true
gcc12: &gcc12
platform: ${PLATFORM}
image: ${DOCKER_USERNAME}/gcc12-${DISTRO}${DISTRO_VERSION}:latest
container_name: gcc12
build:
context: .
dockerfile: Dockerfile
tags:
- ${DOCKER_USERNAME}/gcc12-${DISTRO}${DISTRO_VERSION}:latest
- ${DOCKER_USERNAME}/gcc12-${DISTRO}${DISTRO_VERSION}:${DOCKER_TAG}
args:
<<: *common-args
COMPILER: gcc
COMPILER_VERSION: 12
tty: true
clang12: &clang12
platform: ${PLATFORM}
image: ${DOCKER_USERNAME}/clang12-${DISTRO}${DISTRO_VERSION}:latest
container_name: clang12
build:
context: .
dockerfile: Dockerfile
tags:
- ${DOCKER_USERNAME}/clang12-${DISTRO}${DISTRO_VERSION}:latest
- ${DOCKER_USERNAME}/clang12-${DISTRO}${DISTRO_VERSION}:${DOCKER_TAG}
args:
<<: *common-args
COMPILER: clang
COMPILER_VERSION: 12
tty: true
clang13: &clang13
platform: ${PLATFORM}
image: ${DOCKER_USERNAME}/clang13-${DISTRO}${DISTRO_VERSION}:latest
container_name: clang13
build:
context: .
dockerfile: Dockerfile
tags:
- ${DOCKER_USERNAME}/clang13-${DISTRO}${DISTRO_VERSION}:latest
- ${DOCKER_USERNAME}/clang13-${DISTRO}${DISTRO_VERSION}:${DOCKER_TAG}
args:
<<: *common-args
COMPILER: clang
COMPILER_VERSION: 13
tty: true
clang14: &clang14
platform: ${PLATFORM}
image: ${DOCKER_USERNAME}/clang14-${DISTRO}${DISTRO_VERSION}:latest
container_name: clang14
build:
context: .
dockerfile: Dockerfile
tags:
- ${DOCKER_USERNAME}/clang14-${DISTRO}${DISTRO_VERSION}:latest
- ${DOCKER_USERNAME}/clang14-${DISTRO}${DISTRO_VERSION}:${DOCKER_TAG}
args:
<<: *common-args
COMPILER: clang
COMPILER_VERSION: 14
tty: true