Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/brave-lamps-grow.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@cartesi/sdk": patch
---

bump nodejs to 24.22.3 (LTS; four security releases since 24.14.0, OpenSSL 3.5.9) and nvm to 0.41.0
5 changes: 5 additions & 0 deletions .changeset/eager-moles-sing.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@cartesi/sdk": patch
---

bump passkey-server to 1.0.3
5 changes: 5 additions & 0 deletions .changeset/green-rivers-shine.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@cartesi/sdk": minor
---

bump machine-emulator to v0.23.0
5 changes: 5 additions & 0 deletions .changeset/quiet-pumas-rest.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@cartesi/sdk": patch
---

bump the PostgreSQL base image to the current postgres:18-trixie digest (PostgreSQL 18.7)
5 changes: 5 additions & 0 deletions .changeset/sharp-geese-listen.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@cartesi/sdk": patch
---

bump telegraf to 1.40.3, now taken from the official `telegraf:1.40.3-scratch` image (same static binary, pinned by digest) instead of the release tarball. Note for operators: telegraf 1.40.0 removed the deprecated aerospike and sflow inputs, the amon output, procstat's deprecated options, tail's from_beginning and kafka_consumer's connection_strategy, and 1.39.0 sets an explicit minimum TLS version; a telegraf configuration relying on any of those stops loading.
5 changes: 5 additions & 0 deletions .changeset/solid-owls-march.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@cartesi/sdk": patch
---

bump dave to v3.0.0-beta.1
5 changes: 5 additions & 0 deletions .changeset/tidy-lions-fold.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@cartesi/sdk": patch
---

bump squashfs-tools to 4.7.5, which fixes a possible filesystem corruption with sparse files and a missed duplicate on files larger than the buffer (both introduced in 4.7). Drives holding such files come out byte-different, so a drive hash and the machine template hash may change on rebuild.
5 changes: 5 additions & 0 deletions .changeset/warm-foxes-jump.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@cartesi/sdk": patch
---

bump alto to 1.2.8
32 changes: 9 additions & 23 deletions packages/sdk/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# syntax=docker.io/docker/dockerfile:1
ARG CARTESI_BASE_IMAGE
ARG POSTGRES_BASE_IMAGE
ARG TELEGRAF_BASE_IMAGE
ARG NODE_VERSION

################################################################################
Expand Down Expand Up @@ -88,7 +89,7 @@ RUN <<EOF
mkdir -p /opt/devnet
curl -fsSL https://github.com/cartesi/dave/releases/download/v${CARTESI_PRT_VERSION}/cartesi-rollups-prt-${CARTESI_PRT_VERSION}-anvil-${FOUNDRY_VERSION}.tar.gz \
-o /tmp/prt-anvil.tar.gz
echo "62500dc3558fbb1f289d99584cd8989d7b42d0c0e7e7a13b8f2d309746e9163e /tmp/prt-anvil.tar.gz" | sha256sum --check
echo "a5e80094ee1556be95685227d07e7d4188a04dd55cc9762bf93e5ea1730c58c2 /tmp/prt-anvil.tar.gz" | sha256sum --check
tar -xzO -f /tmp/prt-anvil.tar.gz state.json > /opt/devnet/anvil_state.json
rm /tmp/prt-anvil.tar.gz
echo ${CARTESI_PRT_VERSION} > /opt/devnet/PRT_VERSION
Expand Down Expand Up @@ -135,23 +136,8 @@ tini --version
EOF

################################################################################
# install telegraf
FROM base AS telegraf
ARG TELEGRAF_VERSION
ARG TARGETARCH
WORKDIR /tmp
RUN <<EOF
curl -fsSL https://dl.influxdata.com/telegraf/releases/telegraf-${TELEGRAF_VERSION}_linux_${TARGETARCH}.tar.gz \
-o ./telegraf.tar.gz;
case "${TARGETARCH}" in
amd64) echo "57e6d733de44335127c06d9d9099c9dee7307beff992783438ce38b9ba1b8e5e /tmp/telegraf.tar.gz" | sha256sum --check ;;
arm64) echo "d42aa06b113f15fdc14775a2d1971e31a0adb82a6e0da28e40a17e819ddaeb06 /tmp/telegraf.tar.gz" | sha256sum --check ;;
*) echo "unsupported architecture: ${TARGETARCH}"; exit 1 ;;
esac
tar -xvzf /tmp/telegraf.tar.gz -C / --strip-components=2 ./telegraf-${TELEGRAF_VERSION}/usr/bin/telegraf
cp /usr/bin/telegraf /usr/local/bin/telegraf
telegraf --version
EOF
# telegraf: the official scratch image ships the static binary, GPG-verified upstream
FROM ${TELEGRAF_BASE_IMAGE} AS telegraf

################################################################################
# install sling-node
Expand All @@ -163,8 +149,8 @@ RUN <<EOF
curl -fsSL https://github.com/cartesi/dave/releases/download/v${CARTESI_PRT_VERSION}/cartesi-sling-node-${CARTESI_PRT_VERSION}-${TARGETARCH}.tar.gz \
-o ./sling-node.tar.gz;
case "${TARGETARCH}" in
amd64) echo "25c04e29a1c3da2dec1cfc02413cae053b6093fe40c264348aeac69b680a0757 /tmp/sling-node.tar.gz" | sha256sum --check ;;
arm64) echo "a15c5df6679186f39c6e634815ecd47d696a947ad0ce66cf1f23b44d81d70b1a /tmp/sling-node.tar.gz" | sha256sum --check ;;
amd64) echo "01a8ec18ead636e36979a0d83e1ba6b3879b8fc96e7b869ac24c6325e0f0098d /tmp/sling-node.tar.gz" | sha256sum --check ;;
arm64) echo "eff13872865f444dd6f0e9ddb6e527ead700059f65dad93a61f1711f62987261 /tmp/sling-node.tar.gz" | sha256sum --check ;;
*) echo "unsupported architecture: ${TARGETARCH}"; exit 1 ;;
esac
tar -xvzf /tmp/sling-node.tar.gz -C /usr/local/bin
Expand Down Expand Up @@ -207,8 +193,8 @@ RUN <<EOF
curl -fsSL https://github.com/cartesi/machine-emulator/releases/download/v${CARTESI_MACHINE_EMULATOR_VERSION}/machine-emulator_${TARGETARCH}.deb \
-o /tmp/machine-emulator.deb
case "${TARGETARCH}" in
amd64) echo "906ae4cd0524ef254ea9a83712e6ad353c36123acae21628fb93c1c47955429a /tmp/machine-emulator.deb" | sha256sum --check ;;
arm64) echo "212710b5ad74e469368cd5f54b006eebde1e8620833acca5be9a845cf74ab2cc /tmp/machine-emulator.deb" | sha256sum --check ;;
amd64) echo "6d63f3094228694e2cf01d60e0a96e2f9d1fb8b4f152548f89a8a5646d4b75ca /tmp/machine-emulator.deb" | sha256sum --check ;;
arm64) echo "134fe1b96896e27ed93b74251e6bb0942e19e2b54b9681da13ad696fc5f004b6 /tmp/machine-emulator.deb" | sha256sum --check ;;
*) echo "unsupported architecture: ${TARGETARCH}"; exit 1 ;;
esac
apt-get install -y --no-install-recommends /tmp/machine-emulator.deb
Expand Down Expand Up @@ -237,7 +223,7 @@ COPY --from=su-exec /usr/local/bin/su-exec /usr/local/bin/
COPY --from=nitro /usr/local/src/nitro /usr/local/bin/
COPY --from=nitro /usr/local/src/nitroctl /usr/local/bin/
COPY --from=tini /usr/local/bin/tini /usr/local/bin/
COPY --from=telegraf /usr/local/bin/telegraf /usr/local/bin/
COPY --from=telegraf /usr/bin/telegraf /usr/local/bin/
COPY --from=sling-node --chmod=755 /usr/local/bin/cartesi-sling-node /usr/local/bin/cartesi-sling-node

COPY skel/ /
Expand Down
18 changes: 9 additions & 9 deletions packages/sdk/docker-bake.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -6,23 +6,23 @@ target "docker-platforms" {}
target "default" {
inherits = ["docker-platforms"]
args = {
ALTO_VERSION = "1.2.7"
ALTO_VERSION = "1.2.8"
ALTO_PACKAGE_VERSION = "0.0.20"
CARTESI_BASE_IMAGE = "docker.io/library/debian:trixie-20261104@sha256:9c6e381421d0f48d1b8133e573f33c185ee16cbf505eda9c4a8a4791b25ea8a6"
CARTESI_LINUX_KERNEL_VERSION = "6.18.56-ctsi-1"
CARTESI_MACHINE_EMULATOR_VERSION = "0.22.0"
CARTESI_PASSKEY_SERVER_VERSION = "1.0.1"
CARTESI_MACHINE_EMULATOR_VERSION = "0.23.0"
CARTESI_PASSKEY_SERVER_VERSION = "1.0.3"
CARTESI_PAYMASTER_VERSION = "0.2.0"
CARTESI_PRT_VERSION = "3.0.0-alpha.6"
CARTESI_PRT_VERSION = "3.0.0-beta.1"
CARTESI_ROLLUPS_NODE_VERSION = "2.0.0-alpha.14"
FOUNDRY_VERSION = "1.5.1"
NITRO_VERSION = "c937fa4fd202074dd250086ebd92de6884968b84" # v0.8.1
NODE_VERSION = "24.14.0"
NVM_VERSION = "977563e97ddc66facf3a8e31c6cff01d236f09bd" # 0.40.3
POSTGRES_BASE_IMAGE = "docker.io/library/postgres:18-trixie@sha256:e3d24f6906d0760bf4da0dae872415391ededefad23fd471c47dc53b0ddf3c42"
SQUASHFS_TOOLS_VERSION = "bad1d213ab6df587d6fa0ef7286180fbf7b86167" # 4.7.4
NODE_VERSION = "24.22.3"
NVM_VERSION = "4e8758a801eea9479b32a904f31093e410ddaba4" # 0.41.0
POSTGRES_BASE_IMAGE = "docker.io/library/postgres:18-trixie@sha256:eb63372c1e05c755f55fa30cbd07aecc443676fc6c0fa90b9002d01537841e1a"
SQUASHFS_TOOLS_VERSION = "708c59ae80853b0845017c33b42e56061cc546cd" # 4.7.5
SU_EXEC_VERSION = "0.3"
TELEGRAF_VERSION = "1.38.0"
TELEGRAF_BASE_IMAGE = "docker.io/library/telegraf:1.40.3-scratch@sha256:bbc43a9e96ea190d94ab3258e9f3673998b30322c78672952bbcfa68c30b1eba"
TINI_VERSION = "0.19.0"
XGENEXT2_VERSION = "1.5.6"
}
Expand Down
Loading