Skip to content

Commit

Permalink
chore(dockerfile): bump golang version in lotus.dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
hanabi1224 committed Oct 7, 2024
1 parent 77712d2 commit 6d79e1d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
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
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 6d79e1d

Please sign in to comment.