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..."