FROM golang:1.26-alpine AS builder ENV GOPROXY=https://goproxy.cn,https://goproxy.io,direct WORKDIR /src COPY . . RUN go build -o /zmclient ./cmd/testclient/ FROM alpine:3.19 RUN apk add --no-cache iproute2 iptables-legacy COPY --from=builder /zmclient /usr/local/bin/zmclient CMD ["zmclient"]