File tree Expand file tree Collapse file tree 1 file changed +9
-5
lines changed Expand file tree Collapse file tree 1 file changed +9
-5
lines changed Original file line number Diff line number Diff line change @@ -12,11 +12,15 @@ ARG DEBIAN_FRONTEND=noninteractive
1212ENV TZ=Africa/Johannesburg
1313# CUDA architecture to build for (defaults to all supported archs)
1414ARG 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
2226COPY . .
You can’t perform that action at this time.
0 commit comments