bake: initial implementation

Signed-off-by: Tonis Tiigi <tonistiigi@gmail.com>
This commit is contained in:
Tonis Tiigi
2019-04-05 00:04:19 -07:00
parent 9129a49409
commit a932d52e35
127 changed files with 23933 additions and 95 deletions

View File

@ -0,0 +1,34 @@
group "default" {
targets = ["db", "webapp"]
}
group "release" {
targets = ["db", "webapp-plus"]
}
target "db" {
context = "./"
tags = ["docker.io/tonistiigi/db"]
}
target "webapp" {
context = "./"
dockerfile = "Dockerfile.webapp"
args = {
buildno = "123"
}
}
target "cross" {
platforms = [
"linux/amd64",
"linux/arm64"
]
}
target "webapp-plus" {
inherits = ["webapp", "cross"]
args = {
IAMPLUS = "true"
}
}