修改docker使用的go版本

This commit is contained in:
joylink_zhangsai 2023-10-13 10:01:39 +08:00
parent b3f37f1686
commit def097d591
1 changed files with 1 additions and 1 deletions

View File

@ -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