Skip to content

Commit

Permalink
chore(dockerfile): bump golang version in lotus.dockerfile (#4854)
Browse files Browse the repository at this point in the history
  • Loading branch information
hanabi1224 authored Oct 8, 2024
1 parent 6e904e2 commit 343a4b6
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion scripts/devnet-curio/.env
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
CURIO_IMAGE=curio/curio-dev:dev
LOTUS_IMAGE=ghcr.io/chainsafe/lotus-devnet:2024-09-20-e9b6503
LOTUS_IMAGE=ghcr.io/chainsafe/lotus-devnet:2024-10-07-6d79e1d
FOREST_DATA_DIR=/forest_data
LOTUS_DATA_DIR=/lotus_data
CURIO_REPO_PATH=/var/lib/curio
Expand Down
4 changes: 2 additions & 2 deletions scripts/devnet-curio/lotus.dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Lotus binaries image, to be used in the local devnet with Forest.
FROM golang:1.21-bookworm AS lotus-builder
FROM golang:1.22-bookworm AS lotus-builder
SHELL ["/bin/bash", "-o", "pipefail", "-c"]

RUN apt-get update && \
Expand All @@ -13,7 +13,7 @@ RUN curl https://sh.rustup.rs -sSf | sh -s -- -y --no-modify-path --profile mini

ENV PATH="/root/.cargo/bin:${PATH}"

RUN git clone --depth 1 --branch v1.29.1 https://github.com/filecoin-project/lotus.git .
RUN git clone --depth 1 --branch v1.29.2 https://github.com/filecoin-project/lotus.git .

# https://github.com/Filecoin-project/filecoin-ffi?tab=readme-ov-file#building-from-source
RUN CGO_CFLAGS_ALLOW="-D__BLST_PORTABLE__" \
Expand Down
2 changes: 1 addition & 1 deletion scripts/devnet/.env
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
LOTUS_IMAGE=ghcr.io/chainsafe/lotus-devnet:2024-09-20-e9b6503
LOTUS_IMAGE=ghcr.io/chainsafe/lotus-devnet:2024-10-07-6d79e1d
FOREST_DATA_DIR=/forest_data
LOTUS_DATA_DIR=/lotus_data
FIL_PROOFS_PARAMETER_CACHE=/var/tmp/filecoin-proof-parameters
Expand Down
4 changes: 2 additions & 2 deletions scripts/devnet/lotus.dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Lotus binaries image, to be used in the local devnet with Forest.
FROM golang:1.21-bookworm AS lotus-builder
FROM golang:1.22-bookworm AS lotus-builder
SHELL ["/bin/bash", "-o", "pipefail", "-c"]

RUN apt-get update && \
Expand All @@ -13,7 +13,7 @@ RUN curl https://sh.rustup.rs -sSf | sh -s -- -y --no-modify-path --profile mini

ENV PATH="/root/.cargo/bin:${PATH}"

RUN git clone --depth 1 --branch v1.29.1 https://github.com/filecoin-project/lotus.git .
RUN git clone --depth 1 --branch v1.29.2 https://github.com/filecoin-project/lotus.git .

# https://github.com/Filecoin-project/filecoin-ffi?tab=readme-ov-file#building-from-source
RUN CGO_CFLAGS_ALLOW="-D__BLST_PORTABLE__" \
Expand Down

0 comments on commit 343a4b6

Please sign in to comment.