Update Dockerfile

This commit is contained in:
wyx2685
2025-03-06 23:45:34 +08:00
committed by GitHub
parent fe896a61a3
commit d5fff6c433

View File

@@ -3,6 +3,7 @@ FROM golang:1.24.1-alpine AS builder
WORKDIR /app WORKDIR /app
COPY . . COPY . .
ENV CGO_ENABLED=0 ENV CGO_ENABLED=0
RUN apk --update --no-cache add git
RUN git submodule update --init --recursive RUN git submodule update --init --recursive
RUN go mod download RUN go mod download
RUN go build -v -o V2bX -tags "sing xray hysteria2 with_reality_server with_quic with_grpc with_utls with_wireguard with_acme with_gvisor" RUN go build -v -o V2bX -tags "sing xray hysteria2 with_reality_server with_quic with_grpc with_utls with_wireguard with_acme with_gvisor"