Skip to content

Commit 58e19e8

Browse files
committed
update dockerfile.release
1 parent 04d1862 commit 58e19e8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Dockerfile.release

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,16 @@
22

33
FROM debian:bullseye
44

5+
ARG VERSION
6+
57
RUN apt-get update -qq && apt-get install curl gpg -y
68
RUN mkdir -p /usr/share/zerotier && \
79
curl -o /usr/share/zerotier/tmp.asc "https://download.zerotier.com/contact%40zerotier.com.gpg" && \
810
gpg --no-default-keyring --keyring /usr/share/zerotier/zerotier.gpg --import /usr/share/zerotier/tmp.asc && \
911
rm -f /usr/share/zerotier/tmp.asc && \
1012
echo "deb [signed-by=/usr/share/zerotier/zerotier.gpg] http://download.zerotier.com/debian/bullseye bullseye main" > /etc/apt/sources.list.d/zerotier.list
1113

12-
RUN apt-get update -qq && apt-get install zerotier-one curl iproute2 net-tools iputils-ping openssl libssl1.1 -y
14+
RUN apt-get update -qq && apt-get install zerotier-one=${VERSION} curl iproute2 net-tools iputils-ping openssl libssl1.1 -y
1315
RUN rm -rf /var/lib/zerotier-one
1416

1517
COPY entrypoint.sh.release /entrypoint.sh

0 commit comments

Comments
 (0)