diff --git a/docker-bake.hcl b/docker-bake.hcl index 899551f9e4..26548016d9 100644 --- a/docker-bake.hcl +++ b/docker-bake.hcl @@ -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 #