upgrade go, rocksdb

This commit is contained in:
Chris Lu 2024-02-07 00:41:03 -08:00
parent ffe5f19aa0
commit 2ad363d984
4 changed files with 6 additions and 6 deletions

View File

@ -1,4 +1,4 @@
FROM golang:1.21-alpine as builder FROM golang:1.22-alpine as builder
RUN apk add git g++ fuse RUN apk add git g++ fuse
RUN mkdir -p /go/src/github.com/seaweedfs/ RUN mkdir -p /go/src/github.com/seaweedfs/
RUN git clone https://github.com/seaweedfs/seaweedfs /go/src/github.com/seaweedfs/seaweedfs RUN git clone https://github.com/seaweedfs/seaweedfs /go/src/github.com/seaweedfs/seaweedfs

View File

@ -1,9 +1,9 @@
FROM golang:1.21 as builder FROM golang:1.22 as builder
RUN apt-get update RUN apt-get update
RUN apt-get install -y build-essential libsnappy-dev zlib1g-dev libbz2-dev libgflags-dev liblz4-dev libzstd-dev RUN apt-get install -y build-essential libsnappy-dev zlib1g-dev libbz2-dev libgflags-dev liblz4-dev libzstd-dev
ENV ROCKSDB_VERSION v8.1.1 ENV ROCKSDB_VERSION v8.10.0
# build RocksDB # build RocksDB
RUN cd /tmp && \ RUN cd /tmp && \

View File

@ -1,9 +1,9 @@
FROM golang:1.21 as builder FROM golang:1.22 as builder
RUN apt-get update RUN apt-get update
RUN apt-get install -y build-essential libsnappy-dev zlib1g-dev libbz2-dev libgflags-dev liblz4-dev libzstd-dev RUN apt-get install -y build-essential libsnappy-dev zlib1g-dev libbz2-dev libgflags-dev liblz4-dev libzstd-dev
ENV ROCKSDB_VERSION v8.1.1 ENV ROCKSDB_VERSION v8.10.0
# build RocksDB # build RocksDB
RUN cd /tmp && \ RUN cd /tmp && \

2
go.mod
View File

@ -1,6 +1,6 @@
module github.com/seaweedfs/seaweedfs module github.com/seaweedfs/seaweedfs
go 1.21 go 1.22
require ( require (
cloud.google.com/go v0.111.0 // indirect cloud.google.com/go v0.111.0 // indirect