mirror of
https://github.com/xHyroM/void-packages.git
synced 2024-11-25 15:41:04 +01:00
30 lines
756 B
HCL
30 lines
756 B
HCL
|
variable "MIRROR" {
|
||
|
default = "https://repo-ci.voidlinux.org/"
|
||
|
}
|
||
|
|
||
|
target "docker-metadata-action" {}
|
||
|
|
||
|
target "_common" {
|
||
|
inherits = ["docker-metadata-action"]
|
||
|
dockerfile = "common/container/Containerfile"
|
||
|
no-cache-filter = ["bootstrap"]
|
||
|
cache-to = ["type=local,dest=/tmp/buildx-cache"]
|
||
|
cache-from = ["type=local,src=/tmp/buildx-cache"]
|
||
|
target = "image"
|
||
|
args = {
|
||
|
"MIRROR" = "${MIRROR}"
|
||
|
}
|
||
|
}
|
||
|
|
||
|
target "void-buildroot-glibc" {
|
||
|
inherits = ["_common"]
|
||
|
platforms = ["linux/amd64", "linux/386", "linux/arm64", "linux/arm/v7", "linux/arm/v6"]
|
||
|
args = { "LIBC" = "glibc" }
|
||
|
}
|
||
|
|
||
|
target "void-buildroot-musl" {
|
||
|
inherits = ["_common"]
|
||
|
platforms = ["linux/amd64", "linux/arm64", "linux/arm/v7", "linux/arm/v6"]
|
||
|
args = { "LIBC" = "musl" }
|
||
|
}
|