diff --git a/Dockerfile b/Dockerfile index 730e4cc..327bc42 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,6 @@ -FROM golang:1.21.6-alpine as gobulidIso +FROM golang:1.22.2-alpine as gobulidIso COPY ./ /go/src/wp-go WORKDIR /go/src/wp-go -#ENV GOPROXY="https://goproxy.cn" RUN go build -ldflags "-w" -tags netgo -o wp-go app/cmd/main.go FROM alpine:latest