Browse Source

upgrade go, rocksdb

pull/5292/head
Chris Lu 11 months ago
parent
commit
2ad363d984
  1. 2
      docker/Dockerfile.go_build
  2. 4
      docker/Dockerfile.rocksdb_dev_env
  3. 4
      docker/Dockerfile.rocksdb_large
  4. 2
      go.mod

2
docker/Dockerfile.go_build

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

4
docker/Dockerfile.rocksdb_dev_env

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

4
docker/Dockerfile.rocksdb_large

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

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

Loading…
Cancel
Save