From a944c3ff3636c913abf1108972c1e06dd35cd13d Mon Sep 17 00:00:00 2001 From: PassiveLemon Date: Mon, 16 Sep 2024 13:09:37 -0400 Subject: [PATCH] Fix #307 --- docker/Dockerfile | 2 +- docker/entrypoint.sh | 5 ++++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/docker/Dockerfile b/docker/Dockerfile index 5533f56..baf3fa4 100644 --- a/docker/Dockerfile +++ b/docker/Dockerfile @@ -32,7 +32,7 @@ RUN curl -Lo ZeroTierOne.tar.gz https://codeload.github.com/zerotier/ZeroTierOne FROM docker.io/ubuntu:latest RUN apt-get update -y &&\ - apt-get install -y bash sudo netcat-openbsd libssl-dev + apt-get install -y bash sudo netcat-openbsd libssl-dev ca-certificates COPY --chmod=700 ./entrypoint.sh /opt/zoraxy/ COPY --from=build-zoraxy /usr/local/bin/zoraxy /usr/local/bin/zoraxy diff --git a/docker/entrypoint.sh b/docker/entrypoint.sh index 72f3de9..69836d6 100644 --- a/docker/entrypoint.sh +++ b/docker/entrypoint.sh @@ -1,8 +1,11 @@ #!/usr/bin/env bash +update-ca-certificates +echo "CA certificates updated" + if [ "$ZEROTIER" = "true" ]; then - echo "Starting ZeroTier daemon..." zerotier-one -d + echo "ZeroTier daemon started" fi echo "Starting Zoraxy..."