-
Notifications
You must be signed in to change notification settings - Fork 236
Expand file tree
/
Copy pathDockerfile.standalone
More file actions
23 lines (19 loc) · 1.06 KB
/
Copy pathDockerfile.standalone
File metadata and controls
23 lines (19 loc) · 1.06 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# SPDX-FileCopyrightText: Copyright (c) 2025-2026, NVIDIA CORPORATION & AFFILIATES. All rights reserved.
# SPDX-License-Identifier: Apache-2.0
#
# Environment and runner for the standalone C build.
#
# End-user instructions: https://docs.nvidia.com/cuvs/installation#build-the-standalone-c-library-with-docker
ARG CUDA_VERSION=notset
ARG PYTHON_VERSION=notset
ARG RAPIDS_VERSION=notset
FROM rapidsai/ci-wheel:${RAPIDS_VERSION}-cuda${CUDA_VERSION}-rockylinux8-py${PYTHON_VERSION}
# Output directory for the standalone archive. Bind-mount a host folder here
# (e.g. -v $(pwd)/build:/build) so libcuvs_c.tar.gz is written to the host.
ENV CUVS_TARBALL_BUILD_OUTPUT_DIR=/build
ENV CUVS_TARBALL_IN_CONTAINER=1
# Run from repo root; the repo is expected to be bind-mounted at /workspace.
WORKDIR /workspace
# Run the build script, which writes the standalone tarball to the mounted output dir.
# Example: docker run -v $(pwd):/workspace -v $(pwd)/build:/build cuvs-standalone-c [--tarball-build-tests]
ENTRYPOINT ["/bin/bash", "-c", "ci/standalone_c/build_standalone_c.sh \"$@\"", "--"]