diff --git a/.changeset/strong-walls-help.md b/.changeset/strong-walls-help.md new file mode 100644 index 00000000..7e22e493 --- /dev/null +++ b/.changeset/strong-walls-help.md @@ -0,0 +1,5 @@ +--- +"@cartesi/sdk": minor +--- + +add espresso-dev-node binary diff --git a/packages/sdk/Dockerfile b/packages/sdk/Dockerfile index d5f65d24..4a0aecc5 100644 --- a/packages/sdk/Dockerfile +++ b/packages/sdk/Dockerfile @@ -6,6 +6,10 @@ ARG SERVER_MANAGER_VERSION ARG CARTESI_IMAGE_KERNEL_VERSION ARG LINUX_KERNEL_VERSION ARG XGENEXT2_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 FROM ${BASE_IMAGE} AS builder @@ -145,5 +149,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"] diff --git a/packages/sdk/docker-bake.hcl b/packages/sdk/docker-bake.hcl index b4fd7e8e..df26d4c7 100644 --- a/packages/sdk/docker-bake.hcl +++ b/packages/sdk/docker-bake.hcl @@ -14,5 +14,6 @@ target "default" { DEVNET_VERSION = "1.8.0" LINUX_KERNEL_VERSION = "6.5.9-ctsi-1-v0.19.1" XGENEXT2_VERSION = "1.5.6" + ESPRESSO_DEV_NODE_TAG = "20240925" } }