upgrade go requirement to 1.20

This commit is contained in:
c9s 2023-12-08 15:44:15 +08:00
parent c74ba4f406
commit d4a201b987
No known key found for this signature in database
GPG Key ID: 7385E7E464CB0A54
2 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
# First stage container
FROM golang:1.18.10-alpine3.17 AS builder
FROM golang:1.20-alpine3.18 AS builder
RUN apk add --no-cache git ca-certificates gcc musl-dev libc-dev pkgconfig
# gcc is for github.com/mattn/go-sqlite3
# ADD . $GOPATH/src/github.com/c9s/bbgo

2
go.mod
View File

@ -2,7 +2,7 @@
module github.com/c9s/bbgo
go 1.18
go 1.20
require (
github.com/DATA-DOG/go-sqlmock v1.5.0