Repository navigation
fix(docker): one trust store for both server images; ship mcli notices - #295
Merged
Merged
Conversation
…assic image The distroless variant inherited Debian's CA bundle, which still contains the two roots (Comodo AAA Services root, emSign ECC Root CA - G3) that the classic image blocklists per RHSB-2026-012. Build the same UBI bundle in a throwaway stage and replace the only file under /etc/ssl/certs with it. Pin the busybox and distroless bases by digest like Dockerfile.goreleaser, and gate the shipped file in test-release: the bundle must parse and must not contain either blocklisted subject. Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: Feng Ruohang <[email protected]>
Copy LICENSE, NOTICE and CREDITS from the same verified mcli archive as the bundled binary into /licenses/mcli; the server's CREDITS covers only the server's own dependencies. Correct the mcli archive pins to the RELEASE.2026-10-26T00-00-00Z checksums. The release workflow overrides them from the attested checksum file, but a plain local build failed with "Published checksum drift". Add a Dependabot docker update so the digest-pinned bases in Dockerfile.goreleaser and Dockerfile.distroless keep receiving fixes. Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: Feng Ruohang <[email protected]>
Vonng
added a commit
that referenced
this pull request
Nov 9, 2026
…es (#295) Co-Authored-By: Claude Opus 5.5 <[email protected]> Signed-off-by: Feng Ruohang <[email protected]>
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.
Contribution Licensing (no CLA, inbound=outbound, DCO required)
This pull request contributes to PGSTY SILO (
pgsty/silo). Code contributionsare accepted under AGPL-3.0-or-later, the same license as the server.
This project does not use a CLA or require a separate Apache-2.0 license grant.
By submitting this pull request I represent that I have the right to contribute
the code changes under this repository's
GNU Affero General Public License v3.0 or later
and retain copyright in my original work. Existing copyright and license
notices remain intact; separately licensed material keeps its applicable terms.
Every commit must carry a DCO
Signed-off-bytrailer(
git commit -s) certifying theDeveloper Certificate of Origin — see
CONTRIBUTING.md.
Description
Dockerfile.distrolessnow replaces Debian's bundle with the same UBI bundle asDockerfile.goreleaser. Debian's bundle still contained the two roots the classic image blocklists per RHSB-2026-012 (Comodo AAA Services root, emSign ECC Root CA - G3). The busybox and distroless bases are now pinned by digest./licenses/mcli/{LICENSE,NOTICE,CREDITS}, copied from the same verified archive as the bundled binary.MC_*_SHA256now matchRELEASE.2026-10-26T00-00-00Z. The release workflow already overrode them from the attested checksum file, but a plain local build failed with "Published checksum drift".dockerupdate so the digest-pinned bases keep receiving fixes.Motivation and Context
Found while reviewing the silo, mc and silo-console images: the two server variants trusted different root sets, and the bundled client's notices were missing.
How to test this PR?
test-release.ymlnow asserts the distroless bundle parses (more than 100 subjects) and contains neither blocklisted subject.--user 10001:10001. A full classic-image build passed with the corrected pins./licenses/mcli/*is byte-identical to the archive. mcli, mc and curl run, curl reaches public HTTPS, and the server starts as root and as UID 10001.Compatibility impact
None for clients or configuration. Distroless users who relied on either blocklisted root now see the same TLS failure as classic-image users.
Types of changes
Checklist:
git commit -s) per the DCOcommit-idorPR #here)make verifierspassesmake buildpasspgsty/silo.pgsty.com, if needed🤖 Generated with Claude Code