From 5f0edae6fed73f5311526062c4416d6ffae73599 Mon Sep 17 00:00:00 2001 From: Rogee Date: Tue, 28 Jul 2026 18:42:03 +0800 Subject: [PATCH] fix: use musl build of sing-box for Alpine --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index fb11dde..d462b09 100644 --- a/Dockerfile +++ b/Dockerfile @@ -18,7 +18,7 @@ RUN CGO_ENABLED=0 GOOS=linux go build -ldflags="-s -w" -o /sub-store . # ─── Stage 3: Runtime ─── FROM alpine:3.21 RUN apk add --no-cache ca-certificates tzdata && \ - wget -qO /tmp/sing-box.tar.gz "https://github.com/SagerNet/sing-box/releases/download/v1.13.14/sing-box-1.13.14-linux-amd64.tar.gz" && \ + wget -qO /tmp/sing-box.tar.gz "https://github.com/SagerNet/sing-box/releases/download/v1.13.14/sing-box-1.13.14-linux-amd64-musl.tar.gz" && \ tar xzf /tmp/sing-box.tar.gz -C /tmp && \ mv /tmp/sing-box-*/sing-box /usr/local/bin/sing-box && \ chmod +x /usr/local/bin/sing-box && \