From bac45912e3b8cc5edefd2f5a6a8115df0051066d Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Wed, 8 Feb 2023 16:41:23 -0800 Subject: [PATCH] go 1.20 (#4192) --- docker/Dockerfile.go_build | 2 +- docker/Dockerfile.rocksdb_dev_env | 2 +- docker/Dockerfile.rocksdb_large | 2 +- go.mod | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/docker/Dockerfile.go_build b/docker/Dockerfile.go_build index 8e38dd54e..ffb2f2048 100644 --- a/docker/Dockerfile.go_build +++ b/docker/Dockerfile.go_build @@ -1,4 +1,4 @@ -FROM golang:1.19-alpine as builder +FROM golang:1.20-alpine as builder RUN apk add git g++ fuse RUN mkdir -p /go/src/github.com/seaweedfs/ RUN git clone https://github.com/seaweedfs/seaweedfs /go/src/github.com/seaweedfs/seaweedfs diff --git a/docker/Dockerfile.rocksdb_dev_env b/docker/Dockerfile.rocksdb_dev_env index 816dec1ac..095f7092a 100644 --- a/docker/Dockerfile.rocksdb_dev_env +++ b/docker/Dockerfile.rocksdb_dev_env @@ -1,4 +1,4 @@ -FROM golang:1.19-buster as builder +FROM golang:1.20-buster as builder RUN apt-get update RUN apt-get install -y build-essential libsnappy-dev zlib1g-dev libbz2-dev libgflags-dev liblz4-dev libzstd-dev diff --git a/docker/Dockerfile.rocksdb_large b/docker/Dockerfile.rocksdb_large index 9bf72905e..cff571f89 100644 --- a/docker/Dockerfile.rocksdb_large +++ b/docker/Dockerfile.rocksdb_large @@ -1,4 +1,4 @@ -FROM golang:1.19-buster as builder +FROM golang:1.20-buster as builder RUN apt-get update RUN apt-get install -y build-essential libsnappy-dev zlib1g-dev libbz2-dev libgflags-dev liblz4-dev libzstd-dev diff --git a/go.mod b/go.mod index 2f18a93a8..3b3ba3291 100644 --- a/go.mod +++ b/go.mod @@ -1,6 +1,6 @@ module github.com/seaweedfs/seaweedfs -go 1.19 +go 1.20 require ( cloud.google.com/go v0.107.0 // indirect