Linux / verify (pull_request) Successful in 2m57s
Linux / keyless-cuda (pull_request) Skipped
Linux / hosted-cuda-package (pull_request) Skipped
Linux / linux-cli-container (pull_request) Successful in 27s
Linux / linux-static-cli (pull_request) Successful in 5m58s
Linux / release-cli (pull_request) Skipped
35 lines
1.6 KiB
Docker
35 lines
1.6 KiB
Docker
FROM --platform=linux/amd64 ubuntu:24.04@sha256:f610ab94648195aa356059f5b41d6085c9d4d903c072430cdd1af7bdb646106b
|
|
|
|
ENV DEBIAN_FRONTEND=noninteractive
|
|
|
|
# The minimal pinned Ubuntu base has no CA store. Seed it from the trusted
|
|
# Linux CI runner so HTTPS verification works before apt installs ca-certificates.
|
|
COPY runner-ca-certificates.crt /etc/ssl/certs/ca-certificates.crt
|
|
|
|
# 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 make 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"]
|