File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change 11ARG CUDA_VERSION=12.3.1
22ARG UBUNTU_VERSION=22.04
3- FROM nvcr.io/nvidia/cuda:${CUDA_VERSION}-devel-ubuntu${UBUNTU_VERSION} as base-cuda
3+ FROM nvcr.io/nvidia/cuda:${CUDA_VERSION}-devel-ubuntu${UBUNTU_VERSION} AS base-cuda
44
55# Install requirements for rustup install + bindgen: https://rust-lang.github.io/rust-bindgen/requirements.html
6- RUN DEBIAN_FRONTEND=noninteractive apt update -y && apt install -y curl llvm-dev libclang-dev clang pkg-config libssl-dev
6+ RUN DEBIAN_FRONTEND=noninteractive apt update -y && apt install -y curl llvm-dev libclang-dev clang pkg-config libssl-dev cmake git
77RUN curl https://sh.rustup.rs -sSf | bash -s -- -y
88ENV PATH=/root/.cargo/bin:$PATH
99
1010COPY . .
1111RUN cargo build --bin simple --features cuda
1212
13- FROM nvcr.io/nvidia/cuda:${CUDA_VERSION}-runtime-ubuntu${UBUNTU_VERSION} as base-cuda-runtime
13+ FROM nvcr.io/nvidia/cuda:${CUDA_VERSION}-runtime-ubuntu${UBUNTU_VERSION} AS base-cuda-runtime
1414
1515COPY --from=base-cuda /target/debug/simple /usr/local/bin/simple
1616
You can’t perform that action at this time.
0 commit comments