Repository navigation
docker: run the server on chainguard/static, not ubuntu with git - #711
Merged
Merged
Conversation
The server has cloned Git plugin sources with go-git since #698 and runs no external binaries, so the Ubuntu base and its git package only add CVEs. The runtime stage is now gcr.io/distroless/static-debian13, which keeps the root default user that the Compose file relies on; the chart still sets 1001. With no shell in the image, the Compose file rewrites the kubeconfig in a one-shot busybox service and checks health with `arctl-server healthcheck`, which dials the server's listen address. Also bumps klauspost/compress to v1.18.7 and OpenTelemetry to v1.45.0 for their CVE fixes. Verified with trivy and grype on both images, `docker compose up -d --wait`, and a Git plugin resolved over HTTPS as root and as UID 1001 with a read-only root filesystem. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Nicholas Bucher <behappy54321@gmail.com>
…e in the security doc Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Nicholas Bucher <behappy54321@gmail.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Nicholas Bucher <behappy54321@gmail.com>
This comment has been minimized.
This comment has been minimized.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Nicholas Bucher <behappy54321@gmail.com>
This comment has been minimized.
This comment has been minimized.
The server never loads a kubeconfig: its only Kubernetes client uses in-cluster config, and clientcmd is not linked into the binary. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Nicholas Bucher <behappy54321@gmail.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Signed-off-by: Nicholas Bucher <behappy54321@gmail.com>
Collaborator
Author
|
Before is
🤖 written by Claude verify-711-v3.mp4Screenshots🤖 written by Claude |
Charlesthebird
marked this pull request as ready for review
October 27, 2026 17:48
lcopi
approved these changes
Oct 27, 2026
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.


Description
🤖 written by Claude (start)
Change Type
/kind fix
Changelog
Additional Notes
arctl-server healthcheck, and drops thesedkubeconfig rewrite and mount: the server never loads a kubeconfig, since its only Kubernetes client uses in-cluster config.docker exec … shin the server container loses that shell.Testing
make run-docker.docker compose -p agentregistry psshows the server healthy.source.type: gitand an HTTPS URL usingarctl apply -f.arctl get plugin <name> -o yamlshowsreason: Resolvedand aresolvedSource.commit.🤖 written by Claude (end)
🤖 Generated with Claude Code