feat: add self-built Snell 5.0.1 projects

This commit is contained in:
Codex
2026-07-19 08:55:46 -07:00
parent 469dcc3641
commit b90436ea6c
10 changed files with 132 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
FROM alpine:3.21 AS downloader
ARG SNELL_VERSION=5.0.1
ARG SNELL_ZIP_SHA256=9bea1c2b9e35b73b31634856c04d18c393072b9e5dcde6a32781d8b8f908c539
RUN apk add --no-cache curl unzip \
&& curl -fsSL "https://dl.nssurge.com/snell/snell-server-v${SNELL_VERSION}-linux-amd64.zip" -o /tmp/snell.zip \
&& echo "${SNELL_ZIP_SHA256} /tmp/snell.zip" | sha256sum -c - \
&& unzip -p /tmp/snell.zip snell-server > /snell-server \
&& chmod 755 /snell-server
FROM alpine:3.21
RUN apk add --no-cache ca-certificates
COPY --from=downloader /snell-server /usr/local/bin/snell-server
COPY --chmod=755 entrypoint.sh /usr/local/bin/entrypoint.sh
ENTRYPOINT ["/usr/local/bin/entrypoint.sh"]