fix: CUDA image security updates, apt caching, and a 13.4 canary build #47
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/cuda-image"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Follow-ups to #46 for the CUDA image:
apt-get upgradeon every build, so the image lands on Ubuntu's current patch level instead of the NVIDIA base's. This clears the scanner findings for libssl3t64/openssl, gzip, libsqlite3-0, libudev1/libsystemd0, perl-base, tar, libtinfo6/liblzma5, and the ncurses family (verified in a local build: openssl 3.0.13-0ubuntu3.11, tar 1.35+dfsg-3ubuntu0.3, ...). No pinned package list to rot.APT_PROXYbuild arg pointing at the cluster apt-cache, so the upgrade downloads are cached like the runner's own apt traffic. The proxy config is removed in the same layer and verified absent from the shipped image; local builds without the arg go direct.continue-on-error, build-only step that builds Dockerfile.cuda against13.4.0-devel/-runtime. No 13.4 tags exist on Docker Hub yet, so it fails harmlessly for now; once it goes green it proves the build against the next CUDA release before we bump the shippedCUDA_VERSION/CUDA_MMdefaults. Never tagged for the registry or pushed.🤖 Generated with Claude Code
Automated review by pr-reviewer v0.36.0 | Safety Check | Claude Sonnet 5 | tracking id
r-606705-a25b47This is an AI-generated review and may contain mistakes.
Status: ✅ Completed
✅ Verdict: LGTM — Changes are limited to CI/Docker build hygiene (apt upgrade with proper cleanup, non-blocking canary build), with no secrets, breaking changes, or logic errors found.
Reviewed the diff:
apt-get upgrade -ystep in the runtime stage, gated by an optionalAPT_PROXYbuild-arg, with proxy config removed and apt lists cleaned in the same RUN layer (avoids leaking cluster-internal proxy address or leftover apt cache into the shipped image). Looks correctly done — single layer, cleanup included.APT_PROXYbuild-arg to the main cuda build, and a newcontinue-on-error: truecanary build step for CUDA 13.4 that only tags alocalhost/image (not pushed/registry-tagged). This is safe since it can't fail the pipeline and doesn't publish anything.Nothing alarming: no accidental credentials, no logic bugs, and the risky-looking new step is explicitly non-blocking and non-publishing.
Automated review by pr-reviewer v0.36.0 | Safety Check | Claude Sonnet 5 | tracking id
r-6069db-763f7cThis is an AI-generated review and may contain mistakes.
Status: ✅ Completed
✅ Verdict: LGTM — Changes are additive, non-blocking (canary build allowed to fail), and proxy config is properly cleaned up within the same layer — nothing alarming.
Reviewed the diff:
continue-on-error: true, build-only canary step for CUDA 13.4 prerelease that's never tagged or pushed to the registry. Failure there is explicitly non-blocking.No secrets, credentials, or large binaries introduced. No obvious logic bugs — the proxy config cleanup happens correctly in the same layer to avoid persisting internal DNS/network details in the image. The canary step is isolated and non-blocking as described. Nothing here looks like it would break existing builds/services; the main runtime image behavior is additive (extra upgrade step) and the new Dockerfile is unused by the release path.
Automated review by pr-reviewer v0.36.0 | Safety Check | Claude Sonnet 5 | tracking id
r-606a7f-eaed3fThis is an AI-generated review and may contain mistakes.
Status: ✅ Completed
✅ Verdict: LGTM — Changes are limited to CI-only canary steps (continue-on-error, never pushed) and a security-patching apt upgrade layer that properly cleans up its temporary proxy config; nothing risky or breaking found.
Reviewed the diff:
apt-get upgradein the runtime stage, removing the proxy config file and apt lists afterward in the same RUN layer (so it doesn't persist in a layer). This is standard practice and looks correct — no leaked internal proxy address in the final image (single RUN layer ensures it isn't in history).continue-on-error: trueand are build-only (taggedlocalhost/..., never pushed to registry), so they can't break the release pipeline even if 13.4 images don't exist yet. That matches the PR description.Nothing here looks like it would break the shipping build or leak sensitive data. The new steps are correctly isolated as best-effort/non-blocking.