bin-image bake target

Allows to build a non-runnable image that contains bundles.

Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
(cherry picked from commit ae1ca67178)
This commit is contained in:
Kevin Alvarez 2023-05-11 15:52:13 +02:00 committed by CrazyMax
parent c01f02cfcb
commit 71846e82c1
No known key found for this signature in database
GPG key ID: 3248E46B6BB8C7F7

View file

@ -152,6 +152,30 @@ target "all-cross" {
inherits = ["all", "_platforms"]
}
#
# bin image
#
target "bin-image" {
inherits = ["all"]
tags = ["moby-bin:local"]
output = ["type=docker"]
}
target "bin-image-cross" {
inherits = ["bin-image"]
output = ["type=image"]
platforms = [
"linux/amd64",
"linux/arm/v6",
"linux/arm/v7",
"linux/arm64",
"linux/ppc64le",
"linux/s390x",
"windows/amd64"
]
}
#
# dev
#