|
|
|
|
@ -1,6 +1,6 @@
|
|
|
|
|
# vim: ft=dockerfile |
|
|
|
|
|
|
|
|
|
FROM debian:bullseye |
|
|
|
|
FROM debian:bookworm |
|
|
|
|
|
|
|
|
|
ARG VERSION |
|
|
|
|
|
|
|
|
|
@ -9,9 +9,9 @@ RUN mkdir -p /usr/share/zerotier && \
|
|
|
|
|
curl -o /usr/share/zerotier/tmp.asc "https://download.zerotier.com/contact%40zerotier.com.gpg" && \ |
|
|
|
|
gpg --no-default-keyring --keyring /usr/share/zerotier/zerotier.gpg --import /usr/share/zerotier/tmp.asc && \ |
|
|
|
|
rm -f /usr/share/zerotier/tmp.asc && \ |
|
|
|
|
echo "deb [signed-by=/usr/share/zerotier/zerotier.gpg] http://download.zerotier.com/debian/bullseye bullseye main" > /etc/apt/sources.list.d/zerotier.list |
|
|
|
|
echo "deb [signed-by=/usr/share/zerotier/zerotier.gpg] http://download.zerotier.com/debian/bookworm bookworm main" > /etc/apt/sources.list.d/zerotier.list |
|
|
|
|
|
|
|
|
|
RUN apt-get update -qq && apt-get install zerotier-one=${VERSION} curl iproute2 net-tools iputils-ping openssl libssl1.1 -y |
|
|
|
|
RUN apt-get update -qq && apt-get install zerotier-one=${VERSION} curl iproute2 net-tools iputils-ping openssl libssl3 -y |
|
|
|
|
RUN rm -rf /var/lib/zerotier-one |
|
|
|
|
|
|
|
|
|
COPY entrypoint.sh.release /entrypoint.sh |
|
|
|
|
|