mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
25 lines
338 B
HCL
25 lines
338 B
HCL
|
variable "BUNDLES_OUTPUT" {
|
||
|
default = "./bundles"
|
||
|
}
|
||
|
|
||
|
target "_common" {
|
||
|
args = {
|
||
|
BUILDKIT_CONTEXT_KEEP_GIT_DIR = 1
|
||
|
}
|
||
|
}
|
||
|
|
||
|
group "default" {
|
||
|
targets = ["binary"]
|
||
|
}
|
||
|
|
||
|
target "binary" {
|
||
|
inherits = ["_common"]
|
||
|
target = "binary"
|
||
|
output = [BUNDLES_OUTPUT]
|
||
|
}
|
||
|
|
||
|
target "dynbinary" {
|
||
|
inherits = ["binary"]
|
||
|
target = "dynbinary"
|
||
|
}
|