Dockerfile: DOCKER_STATIC arg

Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
(cherry picked from commit b19c11621a)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
CrazyMax 2022-12-04 02:32:45 +01:00 committed by Sebastiaan van Stijn
parent daa28fcf2d
commit 582b29f587
No known key found for this signature in database
GPG key ID: 76698F39D527CE8C
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
}
}