mirror of
https://github.com/zyclonite/zerotier-docker.git
synced 2025-06-21 01:57:42 +02:00
disable sso
This commit is contained in:
parent
d560485234
commit
e2a1c86072
@ -7,11 +7,13 @@ FROM ${ALPINE_IMAGE}:${ALPINE_VERSION} as builder
|
|||||||
|
|
||||||
ARG ZT_COMMIT
|
ARG ZT_COMMIT
|
||||||
|
|
||||||
|
COPY patches /patches
|
||||||
|
|
||||||
RUN apk add --update alpine-sdk linux-headers openssl-dev \
|
RUN apk add --update alpine-sdk linux-headers openssl-dev \
|
||||||
&& apk add cargo || true \
|
|
||||||
&& git clone --quiet https://github.com/zerotier/ZeroTierOne.git /src \
|
&& git clone --quiet https://github.com/zerotier/ZeroTierOne.git /src \
|
||||||
&& git -C src reset --quiet --hard ${ZT_COMMIT} \
|
&& git -C src reset --quiet --hard ${ZT_COMMIT} \
|
||||||
&& cd /src \
|
&& cd /src \
|
||||||
|
&& git apply /patches/* \
|
||||||
&& make -f make-linux.mk
|
&& make -f make-linux.mk
|
||||||
|
|
||||||
FROM ${ALPINE_IMAGE}:${ALPINE_VERSION}
|
FROM ${ALPINE_IMAGE}:${ALPINE_VERSION}
|
||||||
|
12
patches/disable-sso.patch
Normal file
12
patches/disable-sso.patch
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
diff --git a/make-linux.mk b/make-linux.mk
|
||||||
|
index 1caf3acc..ade5809a 100644
|
||||||
|
--- a/make-linux.mk
|
||||||
|
+++ b/make-linux.mk
|
||||||
|
@@ -274,6 +274,7 @@ ifeq ($(ZT_IA32),1)
|
||||||
|
ZT_USE_X64_ASM_ED25519=0
|
||||||
|
endif
|
||||||
|
|
||||||
|
+ZT_SSO_SUPPORTED=0
|
||||||
|
ifeq ($(ZT_SSO_SUPPORTED), 1)
|
||||||
|
ifeq ($(ZT_EMBEDDED),)
|
||||||
|
override DEFS+=-DZT_SSO_SUPPORTED=1
|
Loading…
x
Reference in New Issue
Block a user