镜像自地址
https://github.com/devcm-repo/container-images.git
已同步 2026-06-06 02:41:07 +00:00
feat(derp): optimize the derp chart template
这个提交包含在:
@@ -4,11 +4,6 @@ ARG VERSION=main
|
||||
|
||||
RUN apk add git
|
||||
|
||||
RUN apk add tailscale
|
||||
|
||||
RUN go install tailscale.com/cmd/derper@${VERSION}
|
||||
|
||||
COPY init.sh /init.sh
|
||||
RUN chmod +x /init.sh
|
||||
|
||||
ENTRYPOINT [ "/init.sh" ]
|
||||
ENTRYPOINT [ "/go/bin/derper" ]
|
||||
@@ -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
|
||||
在新议题中引用
屏蔽一个用户