Skip to content

Commit 30d6d1e

Browse files
authored
feat(sdk): update baseimage to Debian 13 (Trixie) (#327)
1 parent 0698614 commit 30d6d1e

File tree

3 files changed

+14
-9
lines changed

3 files changed

+14
-9
lines changed

.changeset/shaggy-guests-look.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@cartesi/sdk": patch
3+
---
4+
5+
bump Debian baseimage to 13 (trixie)

packages/sdk/Dockerfile

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -109,14 +109,14 @@ EOF
109109

110110
RUN <<EOF
111111
set -e
112-
addgroup --system --gid 102 cartesi
113-
adduser --system --uid 102 \
114-
--disabled-login \
115-
--gecos "cartesi user" \
116-
--home /nonexistent \
117-
--ingroup cartesi \
112+
useradd \
113+
--comment "cartesi user" \
118114
--no-create-home \
119-
--shell /bin/false \
115+
--home-dir /nonexistent \
116+
--shell /usr/sbin/nologin \
117+
--system \
118+
--uid 102 \
119+
--user-group \
120120
cartesi
121121
EOF
122122

packages/sdk/docker-bake.hcl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ target "default" {
88
args = {
99
ALTO_VERSION = "1.2.5"
1010
ALTO_PACKAGE_VERSION = "0.0.18"
11-
CARTESI_BASE_IMAGE = "docker.io/library/debian:bookworm-20250721-slim@sha256:2424c1850714a4d94666ec928e24d86de958646737b1d113f5b2207be44d37d8"
11+
CARTESI_BASE_IMAGE = "docker.io/library/debian:trixie-20250908-slim@sha256:c2880112cc5c61e1200c26f106e4123627b49726375eb5846313da9cca117337"
1212
CARTESI_DEVNET_VERSION = "2.0.0-alpha.7"
1313
CARTESI_IMAGE_KERNEL_VERSION = "0.20.0"
1414
CARTESI_LINUX_KERNEL_VERSION = "6.5.13-ctsi-1-v0.20.0"
@@ -22,7 +22,7 @@ target "default" {
2222
GO_MIGRATE_VERSION = "4.18.2"
2323
NODE_VERSION = "22.15.1"
2424
NVM_VERSION = "977563e97ddc66facf3a8e31c6cff01d236f09bd" # 0.40.3
25-
POSTGRES_BASE_IMAGE = "docker.io/library/postgres:17@sha256:3962158596daaef3682838cc8eb0e719ad1ce520f88e34596ce8d5de1b6330a1"
25+
POSTGRES_BASE_IMAGE = "docker.io/library/postgres:17-trixie@sha256:8a56bef4c60bef3d26193cb9d810fce93def8fd0c459f4a9b14240fbd7559a1d"
2626
SU_EXEC_VERSION = "0.2"
2727
XGENEXT2_VERSION = "1.5.6"
2828
}

0 commit comments

Comments
 (0)