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:
parent
c01f02cfcb
commit
71846e82c1
1 changed files with 24 additions and 0 deletions
|
@ -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
|
||||
#
|
||||
|
|
Loading…
Reference in a new issue