Skip to content

Commit 203b185

Browse files
committed
chore(sdk): use commit hash for NITRO_VERSION
1 parent 504649e commit 203b185

2 files changed

Lines changed: 4 additions & 6 deletions

File tree

packages/sdk/Dockerfile

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -53,14 +53,12 @@ RUN curl -fsSL https://github.com/foundry-rs/foundry/releases/download/v${FOUNDR
5353
| tar -zx -C /usr/local/bin
5454

5555
################################################################################
56-
# nitro installer
56+
# nitro builder
5757
FROM builder AS nitro
5858
ARG NITRO_VERSION
5959
WORKDIR /usr/local/src
60-
ADD https://github.com/leahneukirchen/nitro.git#v${NITRO_VERSION} /usr/local/src
61-
RUN <<EOF
62-
make
63-
EOF
60+
ADD https://github.com/leahneukirchen/nitro.git#${NITRO_VERSION} /usr/local/src
61+
RUN make
6462

6563
################################################################################
6664
# build msquashfs-tools

packages/sdk/docker-bake.hcl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ target "default" {
1919
CARTESI_ROLLUPS_NODE_VERSION = "2.0.0-alpha.8"
2020
FOUNDRY_VERSION = "1.2.1"
2121
GO_MIGRATE_VERSION = "4.18.2"
22-
NITRO_VERSION = "0.5"
22+
NITRO_VERSION = "8c376d4a5baa7f32999620f9fe3eb51ca8e0dcbc" # v0.5
2323
NODE_VERSION = "22.15.1"
2424
NVM_VERSION = "977563e97ddc66facf3a8e31c6cff01d236f09bd" # 0.40.3
2525
POSTGRES_BASE_IMAGE = "docker.io/library/postgres:17-trixie@sha256:8a56bef4c60bef3d26193cb9d810fce93def8fd0c459f4a9b14240fbd7559a1d"

0 commit comments

Comments
 (0)