-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
217 lines (199 loc) · 5.92 KB
/
Copy pathdocker-compose.yml
File metadata and controls
217 lines (199 loc) · 5.92 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
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
version: "3.8"
services:
base: &base
image: ghcr.io/leon0399/benchmarks-base:latest
build:
context: ./docker/_base
cache_from:
- type=registry,ref=ghcr.io/leon0399/benchmarks-base:buildcache
- type=registry,ref=ghcr.io/leon0399/benchmarks-base:latest
command: ./docker-entrypoint.sh
tty: true
stdin_open: true
working_dir: /app
volumes:
- ./:/app
tmpfs:
- /sys/fs/cgroup
benchmark:
<<: *base
image: ghcr.io/leon0399/benchmarks:latest
build:
context: .
dockerfile: Dockerfile
cache_from:
- type=registry,ref=ghcr.io/leon0399/benchmarks:buildcache
- type=registry,ref=ghcr.io/leon0399/benchmarks:latest
depends_on:
- base
c:
<<: *base
image: ghcr.io/leon0399/benchmarks-c:latest
build:
context: .
dockerfile: ./docker/c/Dockerfile
cache_from:
- type=registry,ref=ghcr.io/leon0399/benchmarks-c:buildcache
- type=registry,ref=ghcr.io/leon0399/benchmarks-c:latest
depends_on:
- base
c-plus-plus:
<<: *base
image: ghcr.io/leon0399/benchmarks-c-plus-plus:latest
build:
context: .
dockerfile: ./docker/c-plus-plus/Dockerfile
cache_from:
- type=registry,ref=ghcr.io/leon0399/benchmarks-c-plus-plus:buildcache
- type=registry,ref=ghcr.io/leon0399/benchmarks-c-plus-plus:latest
depends_on:
- base
c-sharp:
<<: *base
image: ghcr.io/leon0399/benchmarks-c-sharp:latest
build:
context: .
dockerfile: ./docker/c-sharp/Dockerfile
cache_from:
- type=registry,ref=ghcr.io/leon0399/benchmarks-c-sharp:buildcache
- type=registry,ref=ghcr.io/leon0399/benchmarks-c-sharp:latest
depends_on:
- base
fortran:
<<: *base
image: ghcr.io/leon0399/benchmarks-fortran:latest
build:
context: .
dockerfile: ./docker/fortran/Dockerfile
cache_from:
- type=registry,ref=ghcr.io/leon0399/benchmarks-fortran:buildcache
- type=registry,ref=ghcr.io/leon0399/benchmarks-fortran:latest
depends_on:
- base
go:
<<: *base
image: ghcr.io/leon0399/benchmarks-go:latest
build:
context: .
dockerfile: ./docker/go/Dockerfile
cache_from:
- type=registry,ref=ghcr.io/leon0399/benchmarks-go:buildcache
- type=registry,ref=ghcr.io/leon0399/benchmarks-go:latest
depends_on:
- base
java:
<<: *base
image: ghcr.io/leon0399/benchmarks-java:latest
build:
context: .
dockerfile: ./docker/java/Dockerfile
cache_from:
- type=registry,ref=ghcr.io/leon0399/benchmarks-java:buildcache
- type=registry,ref=ghcr.io/leon0399/benchmarks-java:latest
kotlin:
<<: *base
image: ghcr.io/leon0399/benchmarks-kotlin:latest
build:
context: ./docker/kotlin
cache_from:
- type=registry,ref=ghcr.io/leon0399/benchmarks-kotlin:buildcache
- type=registry,ref=ghcr.io/leon0399/benchmarks-kotlin:latest
lua:
<<: *base
image: ghcr.io/leon0399/benchmarks-lua:latest
build:
context: .
dockerfile: ./docker/lua/Dockerfile
cache_from:
- type=registry,ref=ghcr.io/leon0399/benchmarks-lua:buildcache
- type=registry,ref=ghcr.io/leon0399/benchmarks-lua:latest
depends_on:
- base
javascript:
<<: *base
image: ghcr.io/leon0399/benchmarks-javascript:latest
build:
context: .
dockerfile: ./docker/javascript/Dockerfile
cache_from:
- type=registry,ref=ghcr.io/leon0399/benchmarks-javascript:buildcache
- type=registry,ref=ghcr.io/leon0399/benchmarks-javascript:latest
depends_on:
- base
php:
<<: *base
image: ghcr.io/leon0399/benchmarks-php:latest
build:
context: .
dockerfile: ./docker/php/Dockerfile
cache_from:
- type=registry,ref=ghcr.io/leon0399/benchmarks-php:buildcache
- type=registry,ref=ghcr.io/leon0399/benchmarks-php:latest
depends_on:
- base
perl:
<<: *base
image: ghcr.io/leon0399/benchmarks-perl:latest
build:
context: .
dockerfile: ./docker/perl/Dockerfile
cache_from:
- type=registry,ref=ghcr.io/leon0399/benchmarks-perl:buildcache
- type=registry,ref=ghcr.io/leon0399/benchmarks-perl:latest
depends_on:
- base
python:
<<: *base
image: ghcr.io/leon0399/benchmarks-python:latest
build:
context: .
dockerfile: ./docker/python/Dockerfile
cache_from:
- type=registry,ref=ghcr.io/leon0399/benchmarks-python:buildcache
- type=registry,ref=ghcr.io/leon0399/benchmarks-python:latest
depends_on:
- base
ruby:
<<: *base
image: ghcr.io/leon0399/benchmarks-ruby:latest
build:
context: .
dockerfile: ./docker/ruby/Dockerfile
cache_from:
- type=registry,ref=ghcr.io/leon0399/benchmarks-ruby:buildcache
- type=registry,ref=ghcr.io/leon0399/benchmarks-ruby:latest
depends_on:
- base
rust:
<<: *base
image: ghcr.io/leon0399/benchmarks-rust:latest
build:
context: .
dockerfile: ./docker/rust/Dockerfile
cache_from:
- type=registry,ref=ghcr.io/leon0399/benchmarks-rust:buildcache
- type=registry,ref=ghcr.io/leon0399/benchmarks-rust:latest
depends_on:
- base
swift:
<<: *base
image: ghcr.io/leon0399/benchmarks-swift:latest
build:
context: .
dockerfile: ./docker/swift/Dockerfile
cache_from:
- type=registry,ref=ghcr.io/leon0399/benchmarks-swift:buildcache
- type=registry,ref=ghcr.io/leon0399/benchmarks-swift:latest
depends_on:
- base
zig:
<<: *base
image: ghcr.io/leon0399/benchmarks-zig:latest
build:
context: .
dockerfile: ./docker/zig/Dockerfile
cache_from:
- type=registry,ref=ghcr.io/leon0399/benchmarks-zig:buildcache
- type=registry,ref=ghcr.io/leon0399/benchmarks-zig:latest
depends_on:
- base