mirror of
https://github.com/zyclonite/zerotier-docker.git
synced 2024-12-04 21:40:43 +01:00
fix dockerfile
This commit is contained in:
parent
77a1a92cd4
commit
a5e62e52cc
10
Dockerfile
10
Dockerfile
@ -1,9 +1,9 @@
|
||||
ARG ALPINE_IMAGE
|
||||
ARG ALPINE_VERSION=3.14
|
||||
ARG ZT_COMMIT=e8f7d5ef9e7ba6be0b2163cfa31f8817ba5b18f4
|
||||
ARG ZT_VERSION=1.6.5
|
||||
|
||||
FROM ${ALPINE_IMAGE}:${ALPINE_VERSION} as builder
|
||||
FROM ${ALPINE_IMAGE}:3.14 as builder
|
||||
|
||||
ENV ZT_COMMIT=e8f7d5ef9e7ba6be0b2163cfa31f8817ba5b18f4
|
||||
ENV ZT_VERSION=1.6.5
|
||||
|
||||
RUN apk add --update alpine-sdk linux-headers \
|
||||
&& git clone --quiet https://github.com/zerotier/ZeroTierOne.git /src \
|
||||
@ -11,7 +11,7 @@ RUN apk add --update alpine-sdk linux-headers \
|
||||
&& cd /src \
|
||||
&& make -f make-linux.mk
|
||||
|
||||
FROM ${ALPINE_IMAGE}:${ALPINE_VERSION}
|
||||
FROM ${ALPINE_IMAGE}:3.14
|
||||
LABEL version="${ZT_VERSION}"
|
||||
LABEL description="ZeroTier One as Docker Image"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user