2023.3/base/docker-bake.hcl (57 lines of code) (raw):
group "all" {
targets = ["debian", "debian-js", "python", "python-js", "other"]
}
group "default" {
targets = ["debian", "debian-js", "python", "python-js"]
}
group "more" {
targets = ["other"]
}
target "debian" {
tags = [
"registry.jetbrains.team/p/sa/containers/qodana:debian-base-233"
]
platforms = ["linux/amd64", "linux/arm64"]
dockerfile = "debian.Dockerfile"
}
target "debian-js" {
contexts = {
debianbase = "target:debian"
}
tags = [
"registry.jetbrains.team/p/sa/containers/qodana:debian-js-base-233"
]
platforms = ["linux/amd64", "linux/arm64"]
dockerfile = "debian.js.Dockerfile"
}
target "python" {
contexts = {
debianbase = "target:debian"
}
tags = [
"registry.jetbrains.team/p/sa/containers/qodana:python-base-233"
]
platforms = ["linux/amd64", "linux/arm64"]
dockerfile = "python.Dockerfile"
}
target "python-js" {
contexts = {
pythonbase = "target:python"
}
tags = [
"registry.jetbrains.team/p/sa/containers/qodana:python-js-base-233"
]
platforms = ["linux/amd64", "linux/arm64"]
dockerfile = "python.js.Dockerfile"
}
target "other" {
name = "${edition}-base-233"
matrix = {
edition = ["dotnet", "go", "js", "php", "cdnet"]
}
tags = [
"registry.jetbrains.team/p/sa/containers/qodana:${edition}-base-233"
]
platforms = ["linux/amd64", "linux/arm64"]
dockerfile = "${edition}.Dockerfile"
}