Skip to content

fix(docker): upgrade Console runtime OS packages - #4787

Open
plural-copilot[bot] wants to merge 1 commit into
masterfrom
agent/remediate-console-os-cves-1796248174254
Open

plural-copilot[bot] wants to merge 1 commit into
masterfrom
agent/remediate-console-os-cves-1796248174254

Conversation

@plural-copilot

@plural-copilot plural-copilot Bot commented Dec 2, 2026

Copy link
Copy Markdown
Contributor

Summary

  • replace the final Console runtime stage's selective, version-pinned Alpine upgrade with apk upgrade --no-cache
  • retain alpine:3.23.4; do not change GitOps or an image tag
  • allow the image rebuild to obtain current patched Alpine packages without fragile per-package pins

Why this applies

Dockerfile is the build for the main ghcr.io/pluralsh/console image. Its final production stage starts from Alpine and then runs bin/setup/alpine.sh, which installs Console runtime dependencies including git, gnutls, and libexpat.

The upgrade resolves the reported OS findings at rebuild time:

Exclusions

No embedded CLI Go dependency changes are included; those belong in pluralsh/plural-cli and are handled by pluralsh/plural-cli#856. No KAS/deployment-controller Go dependency changes are included; pluralsh/console#4786 handles those. This PR intentionally makes no GitOps or deployment-tag change.

Validation

Reproduced the final-stage package commands on fresh alpine:3.23.4 and verified: zlib 1.4-r0, BusyBox/ssl_client 1.37.0-r31, OpenSSL 3.5.10-r0, musl-utils 1.2.5-r24, libexpat 2.11.0-r0, gnutls 3.8.14-r0, and git/git-init-template 2.52.1-r0. git diff --check passed.

After a rebuilt Console image is published, a separate GitOps PR must promote that image tag.

@plural-copilot plural-copilot Bot left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This PR was generated by the codex Plural Agent Runtime. Here's some useful information you might want to know to evaluate the ai's perfomance:

Name Details
💬 Prompt Create a focused remediation PR for remaining fixable OS/base-image vulnerabilities in the main ghcr.io/pluralsh/console image. Do not modify GitOps or image tags....
🔗 Run history View run history

@github-actions github-actions Bot added the enhancement New feature or request label Dec 2, 2026
@greptile-apps

greptile-apps Bot commented Dec 2, 2026 •

Copy link
Copy Markdown
Contributor

Confidence Score: 5/5RetriggerView in Greptile

[Medium impact] The PR appears safe to merge; no actionable regression was found.

Summary

The PR broadens the final Console image’s package upgrade while keeping alpine:3.23.4.

  • The production image now upgrades all installed Alpine packages.

No actionable issues were found. Package commands and the image build were not run during this review.

Reviews (1) · Last reviewed commit: "fix(docker): upgrade Console runtime OS ..." · Reviewed by Greptile

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant