Files
leleka/deploy/Dockerfile.cuda-builder
T

17 lines
860 B
Docker

ARG BUILDER_BASE=ubuntu@sha256:f610ab94648195aa356059f5b41d6085c9d4d903c072430cdd1af7bdb646106b
FROM ${BUILDER_BASE}
# The caller supplies its verified runner CA bundle as build context. This
# lets later TLS fetches use the runner's complete trust store.
COPY runner-ca-bundle.crt /tmp/runner-ca-bundle.crt
ARG DEBIAN_FRONTEND=noninteractive
RUN apt-get update \
&& apt-get install -y --no-install-recommends \
binutils ca-certificates cmake gcc-13 g++-13 git make python3 \
&& cp /tmp/runner-ca-bundle.crt /etc/ssl/certs/ca-certificates.crt \
&& rm -f /tmp/runner-ca-bundle.crt \
&& rm -rf /var/lib/apt/lists/*
LABEL org.opencontainers.image.title="Leleka GPU-hidden CUDA build environment"
LABEL org.opencontainers.image.description="CPU-only container for compiling the pinned CUDA engine; no NVIDIA driver or device is installed"