Align all 4 Docker images with local dev environment: - ci-builder: CUDA 12.4.1/Ubuntu 22.04 → 12.9.1/Ubuntu 24.04 - ci-builder-cpu: Debian bookworm → Ubuntu 24.04 (+ explicit rustup) - foxhunt-runtime: Debian bookworm → Ubuntu 24.04 - foxhunt-training-runtime: CUDA 12.6.3 → 12.9.1, nvrtc 12-6 → 12-9 All images now have glibc 2.39, matching the local build machine. Binaries compiled locally or in CI will run in any of these containers without GLIBC_2.3x version mismatch errors. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
28 lines
885 B
Docker
28 lines
885 B
Docker
# Generic GPU runtime base image for Foxhunt training pods
|
|
# Contains: CUDA 12.9 + cuDNN + NVRTC + rclone
|
|
# Binaries are fetched by initContainer at pod startup, not baked into this image.
|
|
# Rebuild: only on CUDA version bump
|
|
|
|
FROM nvidia/cuda:12.9.1-cudnn-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 \
|
|
&& 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/*
|
|
|
|
RUN usermod -l foxhunt ubuntu && groupmod -n foxhunt ubuntu
|
|
|
|
ENV NVIDIA_VISIBLE_DEVICES=all
|
|
ENV NVIDIA_DRIVER_CAPABILITIES=compute,utility
|
|
|
|
USER foxhunt
|