FROM --platform=linux/amd64 ubuntu:24.04@sha256:f610ab94648195aa356059f5b41d6085c9d4d903c072430cdd1af7bdb646106b ENV DEBIAN_FRONTEND=noninteractive # Freeze Ubuntu's package view as well as the base-image digest. CUDA itself is # supplied separately by the checksum-pinned redistributable bundle. RUN rm -f /etc/apt/sources.list.d/ubuntu.sources /etc/apt/sources.list && \ printf '%s\n' \ 'deb [check-valid-until=no] https://snapshot.ubuntu.com/ubuntu/20260917T000000Z noble main universe' \ 'deb [check-valid-until=no] https://snapshot.ubuntu.com/ubuntu/20260917T000000Z noble-updates main universe' \ 'deb [check-valid-until=no] https://snapshot.ubuntu.com/ubuntu/20260917T000000Z noble-security main universe' \ > /etc/apt/sources.list && \ apt-get -o Acquire::Check-Valid-Until=false update && \ apt-get install -y --no-install-recommends \ ca-certificates cmake gcc-13 g++-13 git ninja-build python3 python3-numpy && \ rm -rf /var/lib/apt/lists/* && \ test "$(gcc-13 -dumpfullversion | cut -d. -f1)" = 13 && \ mkdir -p /stage/source /stage/toolkit /build && chmod 1777 /build ENV CUDACXX=/opt/cuda/bin/nvcc \ CUDAToolkit_ROOT=/opt/cuda \ CUDAHOSTCXX=/usr/bin/g++-13 \ CC=/usr/bin/gcc-13 \ CXX=/usr/bin/g++-13 \ CUDA_VISIBLE_DEVICES= \ NVIDIA_VISIBLE_DEVICES=void \ HOME=/tmp/home WORKDIR /workspace ENTRYPOINT ["/bin/bash"]