-
Notifications
You must be signed in to change notification settings - Fork 22
/
docker-bake.hcl
60 lines (49 loc) · 920 Bytes
/
docker-bake.hcl
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
variable "TAG" {
default = "devel"
}
variable "DOCKER_ORGANIZATION" {
default = "cartesi"
}
group "default" {
targets = ["server", "console"]
}
target "wrapped" {
context = "./docker"
target = "wrapped-stage"
contexts = {
dapp = "target:dapp"
}
}
target "fs" {
context = "./docker"
target = "fs-stage"
contexts = {
wrapped = "target:wrapped"
}
}
target "server" {
context = "./docker"
target = "server-stage"
contexts = {
fs = "target:fs"
}
tags = ["${DOCKER_ORGANIZATION}/honeypot:${TAG}-server"]
}
target "console" {
context = "./docker"
target = "console-stage"
contexts = {
fs = "target:fs"
}
tags = ["${DOCKER_ORGANIZATION}/honeypot:${TAG}-console"]
}
target "machine" {
context = "./docker"
target = "machine-stage"
contexts = {
fs = "target:fs"
}
tags = ["${DOCKER_ORGANIZATION}/honeypot:${TAG}-machine"]
}
target "dapp" {
}