Skip to content

Commit 7e4b44f

Browse files
authored
Merge pull request #409 from filecoin-project/feat/update-go-version-of-build-env-to-1.23
feat: update golang version of build env to 1.23
2 parents 7beccc7 + d1d693a commit 7e4b44f

2 files changed

Lines changed: 18 additions & 5 deletions

File tree

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ dev:
66
npm run predownload
77
npm run docs:dev
88

9-
TAG:=v1.16.0
9+
TAG:=v1.17.0
1010
docker-buildenv:
1111
docker build --build-arg https_proxy=$(BUILD_DOCKER_PROXY) -t filvenus/venus-buildenv:$(TAG) -f script/docker/venus-buildenv.dockerfile .
1212
docker tag filvenus/venus-buildenv:$(TAG) filvenus/venus-buildenv:latest
Lines changed: 17 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,25 @@
11
# build container stage
2-
FROM golang:1.22-bookworm AS build-env
2+
FROM golang:1.23-bookworm AS build-env
33

44
# RUN sed -i 's/deb.debian.org/mirrors.ustc.edu.cn/g' /etc/apt/sources.list
55

66
# download dependence
7-
RUN apt-get update -y
8-
RUN apt-get install -y \
9-
mesa-opencl-icd ocl-icd-opencl-dev bzr jq pkg-config hwloc libhwloc-dev gcc clang build-essential make ncftp git curl wget
7+
RUN apt-get update -y && apt-get install -y \
8+
bzr \
9+
build-essential \
10+
clang \
11+
curl \
12+
gcc \
13+
git \
14+
hwloc \
15+
jq \
16+
libhwloc-dev \
17+
make \
18+
mesa-opencl-icd \
19+
ncftp \
20+
ocl-icd-opencl-dev \
21+
pkg-config \
22+
wget && rm -rf /var/lib/apt/lists/*
1023

1124
COPY script/docker/common/install_mod.sh /script/
1225
RUN bash /script/install_mod.sh

0 commit comments

Comments
 (0)