forked from tempoxyz/tempo
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-bake.hcl
More file actions
59 lines (50 loc) · 1.1 KB
/
docker-bake.hcl
File metadata and controls
59 lines (50 loc) · 1.1 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
variable "VERGEN_GIT_SHA" {
default = ""
}
variable "VERGEN_GIT_SHA_SHORT" {
default = ""
}
group "default" {
targets = ["tempo", "tempo-bench", "tempo-sidecar", "tempo-xtask"]
}
target "docker-metadata" {}
# Base image with all dependencies pre-compiled
target "chef" {
dockerfile = "Dockerfile.chef"
context = "."
platforms = ["linux/amd64"]
args = {
RUST_PROFILE = "profiling"
RUST_FEATURES = "asm-keccak,jemalloc,otlp"
}
}
target "_common" {
dockerfile = "Dockerfile"
context = "."
contexts = {
chef = "target:chef"
}
args = {
CHEF_IMAGE = "chef"
RUST_PROFILE = "profiling"
VERGEN_GIT_SHA = "${VERGEN_GIT_SHA}"
VERGEN_GIT_SHA_SHORT = "${VERGEN_GIT_SHA_SHORT}"
}
platforms = ["linux/amd64"]
}
target "tempo" {
inherits = ["_common", "docker-metadata"]
target = "tempo"
}
target "tempo-bench" {
inherits = ["_common", "docker-metadata"]
target = "tempo-bench"
}
target "tempo-sidecar" {
inherits = ["_common", "docker-metadata"]
target = "tempo-sidecar"
}
target "tempo-xtask" {
inherits = ["_common", "docker-metadata"]
target = "tempo-xtask"
}