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 1
1
ARG CUDA_VERSION=12.3.1
2
2
ARG 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
4
4
5
5
# 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
7
7
RUN curl https://sh.rustup.rs -sSf | bash -s -- -y
8
8
ENV PATH=/root/.cargo/bin:$PATH
9
9
10
10
COPY . .
11
11
RUN cargo build --bin simple --features cuda
12
12
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
14
14
15
15
COPY --from=base-cuda /target/debug/simple /usr/local/bin/simple
16
16
You can’t perform that action at this time.
0 commit comments