Update llama-server-cuda.Dockerfile
This commit is contained in:
parent
5e7222e5ef
commit
2466205cf4
1 changed files with 9 additions and 5 deletions
|
@ -12,11 +12,15 @@ ARG DEBIAN_FRONTEND=noninteractive
|
|||
ENV TZ=Africa/Johannesburg
|
||||
# CUDA architecture to build for (defaults to all supported archs)
|
||||
ARG CUDA_DOCKER_ARCH=default
|
||||
|
||||
RUN wget -O - https://apt.kitware.com/keys/kitware-archive-latest.asc 2>/dev/null | sudo apt-key add -WORKDIR /app && \
|
||||
apt-add-repository 'deb https://apt.kitware.com/ubuntu/ bionic main' && \
|
||||
apt-get update && \
|
||||
apt-get install -y build-essential git cmake libcurl4-openssl-dev && \
|
||||
ADD https://cmake.org/files/v3.25/cmake-3.25.2-linux-x86_64.tar.gz /tmp/
|
||||
WORKDIR /tmp
|
||||
RUN tar -xf cmake-3.25.2-linux-x86_64.tar.gz && \
|
||||
cp -rd cmake-3.25.2-linux-x86_64/bin /usr/local/ && \
|
||||
cp -rd cmake-3.25.2-linux-x86_64/doc /usr/local/ && \
|
||||
cp -rd cmake-3.25.2-linux-x86_64/share /usr/local/ && \
|
||||
rm -r /tmp/*
|
||||
RUN apt-get update && \
|
||||
apt-get install -y build-essential git libcurl4-openssl-dev && \
|
||||
|
||||
|
||||
COPY . .
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue