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 committed Jan 22, 2025
1 parent 891d429 commit 28e9fce
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 @@ -8,6 +8,10 @@ ARG CRANE_VERSION
ARG NODEJS_VERSION
ARG SU_EXEC_VERSION
ARG ANVIL_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

Check warning on line 14 in packages/sdk/Dockerfile

View workflow job for this annotation

GitHub Actions / build

Default value for global ARG results in an empty or invalid base image name

InvalidDefaultArgInFrom: Default value for ARG ghcr.io/espressosystems/espresso-sequencer/espresso-dev-node:${ESPRESSO_DEV_NODE_TAG} results in empty or invalid base image name More info: https://docs.docker.com/go/dockerfile/rule/invalid-default-arg-in-from/

################################################################################
# base image
Expand Down Expand Up @@ -169,5 +173,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/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 @@ -16,5 +16,6 @@ target "default" {
NODEJS_VERSION = "18.19.0"
SU_EXEC_VERSION = "0.2"
ANVIL_VERSION = "e90348416c3a831ab75bb43f6fa5f0a0be4106c4"
ESPRESSO_DEV_NODE_TAG = "20240925"
}
}

0 comments on commit 28e9fce

Please sign in to comment.