fix: 🐛 update CHANGELOG.md and Dockerfile for sing-box enhancements

- Updated CHANGELOG.md to include version 0.4.1 with fixes related to sing-box, including an upgrade to version 1.13.5 and improvements in configuration validation and error logging.
- Modified Dockerfile to reflect the new sing-box version.
- Enhanced error handling in the sing-box startup process, including configuration checks and stderr logging for better diagnostics.
This commit is contained in:
isboyjc
2026-04-04 22:59:35 +08:00
parent f03c3300b4
commit eedc090a4f
3 changed files with 51 additions and 6 deletions

View File

@@ -9,7 +9,7 @@ COPY . .
RUN CGO_ENABLED=1 GOOS=linux go build -o proxy-pool .
# 下载 sing-box 二进制
ARG SINGBOX_VERSION=1.11.8
ARG SINGBOX_VERSION=1.13.5
RUN ARCH=$(case "$(dpkg --print-architecture)" in amd64) echo "amd64";; arm64) echo "arm64";; *) echo "amd64";; esac) && \
curl -fsSL "https://github.com/SagerNet/sing-box/releases/download/v${SINGBOX_VERSION}/sing-box-${SINGBOX_VERSION}-linux-${ARCH}.tar.gz" \
-o /tmp/sing-box.tar.gz && \