mirror of
https://github.com/tobychui/zoraxy.git
synced 2025-06-01 13:17:21 +02:00
Fix #307
This commit is contained in:
parent
465f332dfc
commit
a944c3ff36
@ -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
|
||||
|
@ -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..."
|
||||
|
Loading…
x
Reference in New Issue
Block a user