Skip to content

chore(deps): update nvidia/cuda docker tag to v12.9.2#385

Open
renovate-bot wants to merge 1 commit into
GoogleCloudPlatform:mainfrom
renovate-bot:renovate/nvidia-cuda-12.x
Open

chore(deps): update nvidia/cuda docker tag to v12.9.2#385
renovate-bot wants to merge 1 commit into
GoogleCloudPlatform:mainfrom
renovate-bot:renovate/nvidia-cuda-12.x

Conversation

@renovate-bot
Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Type Update Change
nvidia/cuda final minor 12.1.0-runtime-ubuntu22.0412.9.2-runtime-ubuntu22.04
nvidia/cuda stage minor 12.1.0-devel-ubuntu22.0412.9.2-devel-ubuntu22.04

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about these updates again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate-bot renovate-bot requested review from a team as code owners May 20, 2026 07:39
@product-auto-label product-auto-label Bot added api: run Issues related to the GoogleCloudPlatform/cloud-run-samples API. samples Issues that are directly related to samples. labels May 20, 2026
@dpebot
Copy link
Copy Markdown
Collaborator

dpebot commented May 20, 2026

/gcbrun

Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request updates the CUDA base images in the Dockerfile to version 12.9.2 for both the build and runtime stages. Feedback indicates that the specified version tag is likely invalid, which will cause build failures. Additionally, the runtime image lacks critical dependencies such as nvcc, bc, and python3 that are required by the entrypoint script, leading to potential runtime errors.

@@ -1,5 +1,5 @@
# --- Build stage ---
FROM nvidia/cuda:12.1.0-devel-ubuntu22.04 AS builder
FROM nvidia/cuda:12.9.2-devel-ubuntu22.04 AS builder
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

high

The CUDA version 12.9.2 does not appear to be a valid tag in the official nvidia/cuda Docker Hub repository. The latest available versions in the 12.x series are currently 12.8.0 or 12.6.3. Using a non-existent tag will cause the build to fail. Please verify the version number and update it to a valid release.


# --- Runtime stage ---
FROM nvidia/cuda:12.1.0-runtime-ubuntu22.04
FROM nvidia/cuda:12.9.2-runtime-ubuntu22.04
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

high

The runtime image flavor does not include the CUDA compiler (nvcc), which is required by the entrypoint.sh script's health check on line 14 (nvcc --version). This will cause the container to exit with an error immediately upon startup. Additionally, the script depends on bc and python3 (lines 59, 96, 161), which are not included in the minimal nvidia/cuda runtime image. Consider using the devel image if nvcc is required at runtime, or ensure all necessary utilities are installed in the runtime stage of the Dockerfile.

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

Labels

api: run Issues related to the GoogleCloudPlatform/cloud-run-samples API. samples Issues that are directly related to samples.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants