Update Dockerfile

This commit is contained in:
Lukas Prettenthaler 2020-11-21 10:14:22 +01:00 committed by GitHub
parent 116fdf0324
commit f969dad6c0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3,8 +3,8 @@ FROM alpine:3.12 as builder
ARG ZT_COMMIT=167645ba6da857dc11ac430b716a5fff8711a6c9
RUN apk add --update alpine-sdk linux-headers \
&& git clone https://github.com/zerotier/ZeroTierOne.git /src \
&& git -C src reset --hard ${ZT_COMMIT} \
&& git clone --quiet https://github.com/zerotier/ZeroTierOne.git /src \
&& git -C src reset --quiet --hard ${ZT_COMMIT} \
&& cd /src \
&& make -f make-linux.mk