Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions jobs-video-encoding/Dockerfile
Original file line number Diff line number Diff line change
@@ -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.

ENV DEBIAN_FRONTEND=noninteractive

ENV DIRPATH=/workspace
Expand Down Expand Up @@ -32,7 +32,7 @@ RUN ./configure \


# --- 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.

ENV NVIDIA_VISIBLE_DEVICES all
ENV NVIDIA_DRIVER_CAPABILITIES compute,video,utility

Expand Down