Skip to content

Commit

Permalink
feat(sdk): add espresso-dev-node
Browse files Browse the repository at this point in the history
  • Loading branch information
endersonmaia authored Jan 23, 2025
1 parent aeebda0 commit a18955a
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/strong-walls-help.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@cartesi/sdk": minor
---

add espresso-dev-node binary
6 changes: 6 additions & 0 deletions packages/sdk/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ ARG NODEJS_VERSION
ARG SU_EXEC_VERSION
ARG ANVIL_VERSION
ARG CARTESI_ROLLUPS_GRAPHQL_VERSION
ARG ESPRESSO_DEV_NODE_TAG

# https://github.com/EspressoSystems/espresso-sequencer/pkgs/container/espresso-sequencer%2Fespresso-dev-node
FROM ghcr.io/espressosystems/espresso-sequencer/espresso-dev-node:${ESPRESSO_DEV_NODE_TAG} AS espresso-dev-node

################################################################################
# base image
Expand Down Expand Up @@ -180,5 +184,7 @@ ADD --chmod=644 \
RUN tar -xJf /usr/share/cartesi-machine/images/linux-headers.tar.xz -C / && \
rm /usr/share/cartesi-machine/images/linux-headers.tar.xz

COPY --from=espresso-dev-node /usr/bin/espresso-dev-node /usr/local/bin/

WORKDIR /mnt
ENTRYPOINT ["/usr/local/bin/entrypoint.sh"]
1 change: 1 addition & 0 deletions packages/sdk/docker-bake.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,6 @@ target "default" {
SU_EXEC_VERSION = "0.2"
ANVIL_VERSION = "2044faec64f99a21f0e5f0094458a973612d0712"
CARTESI_ROLLUPS_GRAPHQL_VERSION = "2.3.4"
ESPRESSO_DEV_NODE_TAG = "20241120-patch2"
}
}

0 comments on commit a18955a

Please sign in to comment.