Dockerfile: DOCKER_STATIC arg

Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
CrazyMax 2022-12-04 02:32:45 +01:00
parent 69c9dfd6d5
commit b19c11621a
No known key found for this signature in database
GPG key ID: 3248E46B6BB8C7F7
2 changed files with 5 additions and 0 deletions

View file

@ -10,6 +10,7 @@ ARG VPNKIT_VERSION=0.5.0
ARG CROSS="false"
ARG SYSTEMD="false"
ARG DEBIAN_FRONTEND=noninteractive
ARG DOCKER_STATIC=1
# cross compilation helper
FROM --platform=$BUILDPLATFORM tonistiigi/xx:${XX_VERSION} AS xx

View file

@ -1,6 +1,9 @@
variable "BUNDLES_OUTPUT" {
default = "./bundles"
}
variable "DOCKER_STATIC" {
default = "1"
}
variable "DOCKER_CROSSPLATFORMS" {
default = ""
}
@ -9,6 +12,7 @@ target "_common" {
args = {
BUILDKIT_CONTEXT_KEEP_GIT_DIR = 1
APT_MIRROR = "cdn-fastly.deb.debian.org"
DOCKER_STATIC = DOCKER_STATIC
}
}