forked from yuzutech/kroki
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-bake.hcl
70 lines (63 loc) · 1.69 KB
/
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
61
62
63
64
65
66
67
68
69
70
variable "TAG" {
default = "latest"
}
group "companion-images" {
targets = ["kroki-mermaid", "kroki-bpmn", "kroki-excalidraw", "kroki-diagramsnet"]
}
target "oci-labels" {
labels = {
"org.opencontainers.image.description" = "Kroki provides a unified API supporting multiple diagramming formats, making it easy to create diagrams from textual descriptions."
"org.opencontainers.image.url" = "https://kroki.io"
"org.opencontainers.image.source" = "https://github.com/yuzutech/kroki"
"org.opencontainers.image.licenses" = "MIT"
}
}
target "kroki" {
context = "server"
contexts = {
nomnoml = "./nomnoml"
vega = "./vega"
dbml = "./dbml"
wavedrom = "./wavedrom"
bytefield = "./bytefield"
tikz = "./tikz"
}
dockerfile = "ops/docker/jdk17-noble/Dockerfile"
tags = ["yuzutech/kroki:${TAG}"]
inherits = ["oci-labels"]
labels = {
"org.opencontainers.image.title" = "Kroki"
}
}
target "kroki-mermaid" {
context = "mermaid"
tags = ["yuzutech/kroki-mermaid:${TAG}"]
inherits = ["oci-labels"]
labels = {
"org.opencontainers.image.title" = "Kroki - Mermaid"
}
}
target "kroki-bpmn" {
context = "bpmn"
tags = ["yuzutech/kroki-bpmn:${TAG}"]
inherits = ["oci-labels"]
labels = {
"org.opencontainers.image.title" = "Kroki - BPMN"
}
}
target "kroki-excalidraw" {
context = "excalidraw"
tags = ["yuzutech/kroki-excalidraw:${TAG}"]
inherits = ["oci-labels"]
labels = {
"org.opencontainers.image.title" = "Kroki - Excalidraw"
}
}
target "kroki-diagramsnet" {
context = "diagrams.net"
tags = ["yuzutech/kroki-diagramsnet:${TAG}"]
inherits = ["oci-labels"]
labels = {
"org.opencontainers.image.title" = "Kroki - diagrams.net"
}
}