feat(sdk): update baseimage to Debian 13 (Trixie)#327
Merged
endersonmaia merged 3 commits intoprerelease/v2-alphafrom Sep 10, 2025
Merged
feat(sdk): update baseimage to Debian 13 (Trixie)#327endersonmaia merged 3 commits intoprerelease/v2-alphafrom
endersonmaia merged 3 commits intoprerelease/v2-alphafrom
Conversation
🦋 Changeset detectedLatest commit: 12eefd9 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
ab1fba6 to
f618d4b
Compare
There was a problem hiding this comment.
Pull Request Overview
Updates the SDK's Docker configuration to use Debian 13 (Trixie) as the base image, replacing the previous Debian Bookworm version, and refactors the user creation process in the Dockerfile for improved security.
- Updated base images from Debian Bookworm to Debian Trixie for both main and Postgres containers
- Refactored user creation from separate
addgroup/addusercommands to a singleuseraddcommand with improved security settings
Reviewed Changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| packages/sdk/docker-bake.hcl | Updates base image references to Debian Trixie versions |
| packages/sdk/Dockerfile | Refactors user creation to use useradd with security improvements |
| .changeset/shaggy-guests-look.md | Adds changelog entry for the Debian version bump |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
48e965d to
12eefd9
Compare
tuler
approved these changes
Sep 10, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request updates the base images used in the SDK's Docker configuration to newer Debian and Postgres versions, and refactors the user creation process in the Dockerfile for improved security and compatibility.
Base image updates:
CARTESI_BASE_IMAGEfrom Debian Bookworm to Debian Trixie, advancing the base OS version for the SDK Docker image (docker-bake.hcl).POSTGRES_BASE_IMAGEto use the Trixie-based Postgres image, ensuring consistency with the new Debian base (docker-bake.hcl).User creation refactor:
addgroupandadduserwith a singleuseraddcommand in the Dockerfile, aligning with best practices for system user creation and improving security by explicitly setting the shell tonologin(Dockerfile).