File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change 2
2
3
3
FROM debian:bullseye
4
4
5
+ ARG VERSION
6
+
5
7
RUN apt-get update -qq && apt-get install curl gpg -y
6
8
RUN mkdir -p /usr/share/zerotier && \
7
9
curl -o /usr/share/zerotier/tmp.asc "https://download.zerotier.com/contact%40zerotier.com.gpg" && \
8
10
gpg --no-default-keyring --keyring /usr/share/zerotier/zerotier.gpg --import /usr/share/zerotier/tmp.asc && \
9
11
rm -f /usr/share/zerotier/tmp.asc && \
10
12
echo "deb [signed-by=/usr/share/zerotier/zerotier.gpg] http://download.zerotier.com/debian/bullseye bullseye main" > /etc/apt/sources.list.d/zerotier.list
11
13
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
13
15
RUN rm -rf /var/lib/zerotier-one
14
16
15
17
COPY entrypoint.sh.release /entrypoint.sh
You can’t perform that action at this time.
0 commit comments