# Generic GPU runtime base image for Foxhunt training pods # Contains: CUDA 13.0 + NVRTC + rclone (no cuDNN — zero conv ops in codebase) # Binaries are fetched by initContainer at pod startup, not baked into this image. # Rebuild: only on CUDA version bump FROM nvidia/cuda:13.0.0-runtime-ubuntu24.04 ENV DEBIAN_FRONTEND=noninteractive RUN apt-get update && apt-get install -y --no-install-recommends \ ca-certificates \ libssl3t64 \ curl \ unzip \ cuda-nvrtc-12-9 \ nsight-systems-cli \ && curl -fsSL https://downloads.rclone.org/v1.69.1/rclone-v1.69.1-linux-amd64.zip -o /tmp/rclone.zip \ && unzip -j /tmp/rclone.zip '*/rclone' -d /usr/local/bin/ \ && rm /tmp/rclone.zip \ && apt-get purge -y unzip \ && rm -rf /var/lib/apt/lists/* # Plan 5 Task 3 (A.4.1): nsys profile harness. # `nsight-systems-cli` is installed unpinned because the CUDA 13 runtime base # already pulls in the nsys version that matches its NVRTC stack; pinning a # stale apt version (e.g. 2024.4.1.61-1 from older plans) causes the build to # fail when the apt index advances. Verify post-build with `nsys --version`. RUN usermod -l foxhunt ubuntu && groupmod -n foxhunt ubuntu ENV NVIDIA_VISIBLE_DEVICES=all ENV NVIDIA_DRIVER_CAPABILITIES=compute,utility USER foxhunt