-
Notifications
You must be signed in to change notification settings - Fork 52
/
Copy pathdocker-compose.yml
85 lines (80 loc) · 1.69 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
version: "3.4"
# extensions
x-base: &base
build:
context: .
dockerfile: Dockerfile
args:
ARTIFACT: "${artifact_url}"
x-bake:
platforms:
- linux/amd64
- linux/arm64
image: "${repo}:latest"
x-jdk: &jdk
build:
context: .
dockerfile: Dockerfile-jdk
args:
ARTIFACT: "${artifact_url}"
x-bake:
platforms:
- linux/amd64
- linux/arm64
image: "${repo}:latest-jdk"
x-zulu-alpine: &zulu-alpine
build:
context: .
dockerfile: Dockerfile-zulu-alpine
args:
ARTIFACT: "${artifact_url}"
x-bake:
platforms:
- linux/amd64
- linux/arm64
image: "${repo}:latest-zulu-alpine"
x-zulu-alpine-jdk: &zulu-alpine-jdk
build:
context: .
dockerfile: Dockerfile-zulu-alpine-jdk
args:
ARTIFACT: "${artifact_url}"
x-bake:
platforms:
- linux/amd64
- linux/arm64
image: "${repo}:latest-zulu-alpine-jdk"
# images
services:
zulu-alpine-jdk-minor:
<< : *zulu-alpine-jdk
image: "${repo}:${minor}-zulu-alpine-jdk"
zulu-alpine-jdk-major:
<< : *zulu-alpine-jdk
image: "${repo}:${major}-zulu-alpine-jdk"
zulu-alpine-jdk-latest:
*zulu-alpine-jdk
zulu-alpine-minor:
<< : *zulu-alpine
image: "${repo}:${minor}-zulu-alpine"
zulu-alpine-major:
<< : *zulu-alpine
image: "${repo}:${major}-zulu-alpine"
zulu-alpine-latest:
*zulu-alpine
jdk-minor:
<< : *jdk
image: "${repo}:${minor}-jdk"
jdk-major:
<< : *jdk
image: "${repo}:${major}-jdk"
jdk-latest:
*jdk
base-minor:
<< : *base
image: "${repo}:${minor}"
base-major:
<< : *base
image: "${repo}:${major}"
base-latest:
*base