Initial commit

This commit is contained in:
Manuel 2023-04-07 08:32:00 +02:00
commit 297e6bfaf9
Signed by: Manuel
GPG key ID: 4085037435E1F07A
5 changed files with 94 additions and 0 deletions

25
docker-bake.hcl Normal file
View file

@ -0,0 +1,25 @@
variable "REG" {
default = "git.snrd.eu"
}
variable "REPO" {
default = "sunred/vlang"
}
group "default" {
targets = ["alpine-base", "alpine"]
}
target "alpine-base" {
output = ["type=docker"]
dockerfile = "base/Dockerfile.alpine"
tags = ["${REG}/${REPO}:alpine-base"]
#platforms = ["linux/amd64", "linux/arm64"]
}
target "alpine" {
output = ["type=docker"]
dockerfile = "Dockerfile.alpine"
tags = ["${REG}/${REPO}:alpine"]
#platforms = ["linux/amd64", "linux/arm64"]
contexts = {
"git.snrd.eu/sunred/vlang:alpine-base": "target:alpine-base"
}
}