-
Notifications
You must be signed in to change notification settings - Fork 8
/
docker-bake.hcl
37 lines (33 loc) · 906 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
target "alpine-base" {
dockerfile = "tools/docker/Dockerfile.build"
tags = ["ghcr.io/datadog/libdatadog-build:alpine-base"]
target = "alpine_builder"
}
target "alpine-build" {
dockerfile = "tools/docker/Dockerfile.build"
args = {
BUILDER_IMAGE = "alpine_builder"
}
target = "ffi_build_output"
platforms = ["linux/amd64"]
output = ["build/x86_64-alpine-linux-musl"]
}
target "debian-build" {
dockerfile = "tools/docker/Dockerfile.build"
args = {
BUILDER_IMAGE = "debian_builder"
}
target = "ffi_build_output"
platforms = ["linux/amd64"]
output = ["build/x86_64-unknown-linux-gnu"]
}
target "alpine-build-aarch64" {
inherits = ["alpine-build"]
platforms = ["linux/arm64"]
output = ["build/aarch64-alpine-linux-musl"]
}
target "debian-build-aarch64" {
inherits = ["debian-build"]
platforms = ["linux/arm64"]
output = ["build/aarch64-unknown-linux-gnu"]
}