fix build

This commit is contained in:
Lukas Prettenthaler 2022-03-03 15:23:09 +01:00
parent 1cefbf3f6d
commit a4d92b7050
No known key found for this signature in database
GPG Key ID: 58E5A82932BCE65D

View File

@ -7,7 +7,8 @@ FROM ${ALPINE_IMAGE}:${ALPINE_VERSION} as builder
ARG ZT_COMMIT
RUN apk add --update alpine-sdk linux-headers \
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 \