Update to latest ZT version

Fixes #9
This commit is contained in:
2023-09-22 12:17:02 +00:00
parent c9f0407e8e
commit dd0e88bbcf
2 changed files with 5 additions and 5 deletions

View File

@@ -1,7 +1,7 @@
FROM debian:buster as stage FROM debian:buster as stage
ARG PACKAGE_BASEURL=https://download.zerotier.com/debian/buster/pool/main/z/zerotier-one ARG PACKAGE_BASEURL=https://download.zerotier.com/debian/buster/pool/main/z/zerotier-one
ARG ARCH=amd64 ARG ARCH=amd64
ARG VERSION=1.6.6 ARG VERSION=1.12.2
RUN apt-get update -qq && apt-get install -qq --no-install-recommends -y ca-certificates=20200601~deb10u2 curl=7.64.0-4+deb10u2 RUN apt-get update -qq && apt-get install -qq --no-install-recommends -y ca-certificates=20200601~deb10u2 curl=7.64.0-4+deb10u2
RUN curl -sSL -o zerotier-one.deb "${PACKAGE_BASEURL}/zerotier-one_${VERSION}_${ARCH}.deb" RUN curl -sSL -o zerotier-one.deb "${PACKAGE_BASEURL}/zerotier-one_${VERSION}_${ARCH}.deb"
@@ -14,4 +14,4 @@ RUN dpkg -i zerotier-one.deb && rm -f zerotier-one.deb
RUN echo "${VERSION}" >/etc/zerotier-version RUN echo "${VERSION}" >/etc/zerotier-version
COPY entrypoint.sh /entrypoint.sh COPY entrypoint.sh /entrypoint.sh
RUN chmod 755 /entrypoint.sh RUN chmod 755 /entrypoint.sh
ENTRYPOINT ["/entrypoint.sh"] ENTRYPOINT ["/entrypoint.sh"]

View File

@@ -1,4 +1,4 @@
version: '3' version: "3"
services: services:
zerotierbridge: zerotierbridge:
@@ -8,7 +8,7 @@ services:
dockerfile: Dockerfile dockerfile: Dockerfile
args: args:
ARCH: amd64 ARCH: amd64
VERSION: 1.6.6 VERSION: 1.12.2
restart: always restart: always
privileged: true privileged: true
volumes: volumes:
@@ -17,4 +17,4 @@ services:
- ZT_NETWORKS=NETWORK_ID_1 NETWORK_ID_2 NETWORK_ID_3 - ZT_NETWORKS=NETWORK_ID_1 NETWORK_ID_2 NETWORK_ID_3
- ZT_BRIDGE=true - ZT_BRIDGE=true
volumes: volumes:
zt_config: zt_config: