mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-11-20 12:33:00 +03:00
Add labels to labels?
This commit is contained in:
@@ -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"]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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
@@ -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"]
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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" {
|
||||
|
||||
Reference in New Issue
Block a user