forked from extern/zerotier-docker
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
|
||||
|
||||
COPY patches /patches
|
||||
|
||||
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 -C src reset --quiet --hard ${ZT_COMMIT} \
|
||||
&& cd /src \
|
||||
&& git apply /patches/* \
|
||||
&& make -f make-linux.mk
|
||||
|
||||
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…
Reference in New Issue
Block a user