Repository navigation
fix(docker): pin root Dockerfile base images by digest - #63
Merged
shudonglin merged 1 commit intoJun 13, 2026
Merged
Conversation
The root Dockerfile is the image litellm-build-push.yml deploys to Cloud Run, and its three FROM lines used ARG-variable references ($UV_IMAGE, $LITELLM_BUILD_IMAGE, $LITELLM_RUNTIME_IMAGE) which Scorecard flags as unpinned (PinnedDependenciesID, alert BerriAI#1008). Replace each with the literal image@sha256 digest already set as the ARG default, matching the existing backend/gateway/migrations Dockerfile pins; build behavior is unchanged. Tracked in fork-patches.txt so -X theirs syncs re-pin it
This was referenced Nov 16, 2026
6 tasks done
shudonglin
added a commit
that referenced
this pull request
Nov 26, 2026
…alse positives (#402) Resolve alerts #62 and #63 against the same litellm.log debug log upstream already removed as a trivy false positive (BerriAI#13631): a local SSO login JWT that embeds that dev proxy's own generated virtual key, not an externally reachable credential. Alerts #83 (litellm_results.jsonl) and #84 (litellm/proxy/api_log.json) contain real-looking third-party provider key formats and are left open, reported for owner review and rotation rather than resolved here. Co-authored-by: Claude <noreply@anthropic.com>
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.
Title
fix(docker): pin root Dockerfile base images by digest
Relevant issues
Resolves Scorecard code-scanning alert BerriAI#1008 (
PinnedDependenciesID, medium) on the rootDockerfile.Pre-Submission checklist
The root
Dockerfileis the imagelitellm-build-push.ymlbuilds and deploys to Cloud Run, yet its threeFROMlines used ARG-variable references ($UV_IMAGE,$LITELLM_BUILD_IMAGE,$LITELLM_RUNTIME_IMAGE) that Scorecard flags as not pinned by hash. Each is replaced with the literalimage@sha256digest already set as that ARG's default, so the resolved images and build behavior are byte-identical; only the static-analysis signal changes. This matches the existing digest pins onbackend/Dockerfile,gateway/Dockerfile, andmigrations/Dockerfile, and is now tracked in.github/fork-patches.txtso-X theirsupstream syncs re-pin it.Type
🐛 Bug Fix
Proof
docker build --check -f Dockerfile .reports "Check complete, no warnings found" with the pinned digests resolving correctly🤖 Generated with OpenClaw