修改docker使用的go版本
This commit is contained in:
parent
b3f37f1686
commit
def097d591
|
@ -1,4 +1,4 @@
|
|||
FROM golang:1.20-alpine as builder
|
||||
FROM golang:1.21-alpine as builder
|
||||
WORKDIR /go/src/joylink.club/bj-rtsts-server
|
||||
COPY . ./
|
||||
RUN go env -w GO111MODULE=on && go env -w GOPROXY=https://goproxy.cn,direct && go build -o bj-rtsts-server
|
||||
|
|
Loading…
Reference in New Issue