Skip to content

Commit 816d945

Browse files
authored
Merge pull request #722 from AsbjornOlling/disable-llama-curl
A few test-build.Dockerfile fixes
2 parents 808c6c5 + b910840 commit 816d945

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test-build.Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
ARG CUDA_VERSION=12.3.1
22
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
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
77
RUN curl https://sh.rustup.rs -sSf | bash -s -- -y
88
ENV PATH=/root/.cargo/bin:$PATH
99

1010
COPY . .
1111
RUN 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

1515
COPY --from=base-cuda /target/debug/simple /usr/local/bin/simple
1616

0 commit comments

Comments
 (0)