From 6f51f1c2956cca0c667b68c7a48b0c6163f75483 Mon Sep 17 00:00:00 2001 From: xing Date: Sat, 13 Apr 2024 22:12:20 +0800 Subject: [PATCH] update docker golang version --- Dockerfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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