update docker golang version
This commit is contained in:
parent
a8d1dcdd5b
commit
6f51f1c295
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user