Skip to content

Commit 2466205

Browse files
authored
Update llama-server-cuda.Dockerfile
1 parent 5e7222e commit 2466205

File tree

1 file changed

+9
-5
lines changed

1 file changed

+9
-5
lines changed

.devops/llama-server-cuda.Dockerfile

Lines changed: 9 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,15 @@ ARG DEBIAN_FRONTEND=noninteractive
1212
ENV TZ=Africa/Johannesburg
1313
# CUDA architecture to build for (defaults to all supported archs)
1414
ARG CUDA_DOCKER_ARCH=default
15-
16-
RUN wget -O - https://apt.kitware.com/keys/kitware-archive-latest.asc 2>/dev/null | sudo apt-key add -WORKDIR /app && \
17-
apt-add-repository 'deb https://apt.kitware.com/ubuntu/ bionic main' && \
18-
apt-get update && \
19-
apt-get install -y build-essential git cmake libcurl4-openssl-dev && \
15+
ADD https://cmake.org/files/v3.25/cmake-3.25.2-linux-x86_64.tar.gz /tmp/
16+
WORKDIR /tmp
17+
RUN tar -xf cmake-3.25.2-linux-x86_64.tar.gz && \
18+
cp -rd cmake-3.25.2-linux-x86_64/bin /usr/local/ && \
19+
cp -rd cmake-3.25.2-linux-x86_64/doc /usr/local/ && \
20+
cp -rd cmake-3.25.2-linux-x86_64/share /usr/local/ && \
21+
rm -r /tmp/*
22+
RUN apt-get update && \
23+
apt-get install -y build-essential git libcurl4-openssl-dev && \
2024

2125

2226
COPY . .

0 commit comments

Comments
 (0)