Add labels to labels?

This commit is contained in:
Gavin Mogan
2025-09-05 22:17:32 -07:00
parent 962cde3446
commit 89b794705a
6 changed files with 32 additions and 8 deletions
+4 -1
View File
@@ -1,3 +1,5 @@
target "docker-metadata-action" {}
target wheels {
dockerfile = "docker/main/Dockerfile"
platforms = ["linux/arm64"]
@@ -18,10 +20,11 @@ target rootfs {
target rk {
dockerfile = "docker/rockchip/Dockerfile"
inherits = ["docker-metadata-action"]
contexts = {
wheels = "target:wheels",
deps = "target:deps",
rootfs = "target:rootfs"
}
platforms = ["linux/arm64"]
}
}
+3
View File
@@ -11,6 +11,8 @@ variable "HSA_OVERRIDE" {
default = "1"
}
target "docker-metadata-action" {}
target wget {
dockerfile = "docker/main/Dockerfile"
platforms = ["linux/amd64"]
@@ -31,6 +33,7 @@ target rootfs {
target rocm {
dockerfile = "docker/rocm/Dockerfile"
inherits = ["docker-metadata-action"]
contexts = {
deps = "target:deps",
wget = "target:wget",
+4 -1
View File
@@ -1,3 +1,5 @@
target "docker-metadata-action" {}
target deps {
dockerfile = "docker/main/Dockerfile"
platforms = ["linux/arm64"]
@@ -12,9 +14,10 @@ target rootfs {
target rpi {
dockerfile = "docker/rpi/Dockerfile"
inherits = ["docker-metadata-action"]
contexts = {
deps = "target:deps",
rootfs = "target:rootfs"
}
platforms = ["linux/arm64"]
}
}
+3 -1
View File
@@ -29,6 +29,8 @@ fi
EOT
}
target "docker-metadata-action" {}
target "_build_args" {
args = {
BASE_IMAGE = BASE_IMAGE,
@@ -81,6 +83,7 @@ target "trt-deps" {
target "tensorrt" {
dockerfile = "docker/tensorrt/Dockerfile.${ARCH}"
inherits = ["docker-metadata-action", "_build_args"]
context = "."
contexts = {
wget = "target:wget",
@@ -89,7 +92,6 @@ target "tensorrt" {
rootfs = "target:rootfs"
}
target = "frigate-tensorrt"
inherits = ["_build_args"]
}
target "devcontainer-trt" {