This commit is contained in:
ginuerzh committed 2026-04-21 23:59:31 +08:00
1 parent 340ba32ef0
commit e388426ec6
5 files changed
+85 -66

No files matched your search

+2 -2
View File
@@ -1,6 +1,6 @@
FROM --platform=$BUILDPLATFORM tonistiigi/xx:1.6.1 AS xx
FROM --platform=$BUILDPLATFORM golang:1.25-alpine3.22 AS builder
FROM --platform=$BUILDPLATFORM golang:1.26-alpine3.23 AS builder
# add upx for binary compression
RUN apk add --no-cache upx || echo "upx not found"
@@ -24,7 +24,7 @@ RUN cd cmd/gost && \
xx-verify gost && \
{ upx --best gost || true; }
FROM alpine:3.22
FROM alpine:3.23
# add iptables for tun/tap
RUN apk add --no-cache iptables