1
0
镜像自地址 https://github.com/devcm-repo/container-images.git 已同步 2026-06-06 05:51:06 +00:00

feat(derp): optimize the derp chart template

这个提交包含在:
2024-07-02 12:42:42 +08:00
未验证
父节点 71e10291e7
当前提交 b63674f475
修改 2 个文件,包含 1 行新增14 行删除
+1 -6
查看文件
@@ -4,11 +4,6 @@ ARG VERSION=main
RUN apk add git RUN apk add git
RUN apk add tailscale
RUN go install tailscale.com/cmd/derper@${VERSION} RUN go install tailscale.com/cmd/derper@${VERSION}
COPY init.sh /init.sh ENTRYPOINT [ "/go/bin/derper" ]
RUN chmod +x /init.sh
ENTRYPOINT [ "/init.sh" ]
-8
查看文件
@@ -1,8 +0,0 @@
#!/usr/bin/env sh
#Start tailscaled and connect to tailnet
/usr/sbin/tailscaled --state=/var/lib/tailscale/tailscaled.state &> /var/lib/tailscale/tailscaled_initial.log &
/usr/bin/tailscale up --accept-routes=true --accept-dns=true --auth-key $TAILSCALE_AUTH_KEY --hostname $TAILSCALE_HOSTNAME &> /var/lib/tailscale/tailscale_onboard.log &
#Start Tailscale derp server
/root/go/bin/derper --hostname=$TAILSCALE_DERP_HOSTNAME --a=$TAILSCALE_DERP_ADDR --verify-clients=$TAILSCALE_DERP_VERIFY_CLIENTS