Dockerfile: DOCKER_STATIC arg
Signed-off-by: CrazyMax <crazy-max@users.noreply.github.com>
This commit is contained in:
parent
69c9dfd6d5
commit
b19c11621a
2 changed files with 5 additions and 0 deletions
|
@ -10,6 +10,7 @@ ARG VPNKIT_VERSION=0.5.0
|
||||||
ARG CROSS="false"
|
ARG CROSS="false"
|
||||||
ARG SYSTEMD="false"
|
ARG SYSTEMD="false"
|
||||||
ARG DEBIAN_FRONTEND=noninteractive
|
ARG DEBIAN_FRONTEND=noninteractive
|
||||||
|
ARG DOCKER_STATIC=1
|
||||||
|
|
||||||
# cross compilation helper
|
# cross compilation helper
|
||||||
FROM --platform=$BUILDPLATFORM tonistiigi/xx:${XX_VERSION} AS xx
|
FROM --platform=$BUILDPLATFORM tonistiigi/xx:${XX_VERSION} AS xx
|
||||||
|
|
|
@ -1,6 +1,9 @@
|
||||||
variable "BUNDLES_OUTPUT" {
|
variable "BUNDLES_OUTPUT" {
|
||||||
default = "./bundles"
|
default = "./bundles"
|
||||||
}
|
}
|
||||||
|
variable "DOCKER_STATIC" {
|
||||||
|
default = "1"
|
||||||
|
}
|
||||||
variable "DOCKER_CROSSPLATFORMS" {
|
variable "DOCKER_CROSSPLATFORMS" {
|
||||||
default = ""
|
default = ""
|
||||||
}
|
}
|
||||||
|
@ -9,6 +12,7 @@ target "_common" {
|
||||||
args = {
|
args = {
|
||||||
BUILDKIT_CONTEXT_KEEP_GIT_DIR = 1
|
BUILDKIT_CONTEXT_KEEP_GIT_DIR = 1
|
||||||
APT_MIRROR = "cdn-fastly.deb.debian.org"
|
APT_MIRROR = "cdn-fastly.deb.debian.org"
|
||||||
|
DOCKER_STATIC = DOCKER_STATIC
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue