Skip to content

Commit

Permalink
propagate NODE_VERSION and NODE_COMMIT
Browse files Browse the repository at this point in the history
  • Loading branch information
gartnera committed Sep 30, 2024
1 parent 7a84b62 commit a151c82
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Dockerfile-localnet
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,10 @@ COPY --exclude=*.sh --exclude=*.md --exclude=*.yml . .
ARG NODE_VERSION
ARG NODE_COMMIT

RUN --mount=type=cache,target="/root/.cache/go-build" make install
RUN --mount=type=cache,target="/root/.cache/go-build" make install-zetae2e
RUN --mount=type=cache,target="/root/.cache/go-build" \
NODE_VERSION=${NODE_VERSION} \
NODE_COMMIT=${NODE_COMMIT} \
make install install-zetae2e

FROM ghcr.io/zeta-chain/golang:1.22.5-bookworm AS cosmovisor-build
RUN go install cosmossdk.io/tools/cosmovisor/cmd/[email protected]
Expand Down

0 comments on commit a151c82

Please sign in to comment.