fix: update cmake installation script
parent
4a44f44529
commit
2f0ee940fb
10
Dockerfile
10
Dockerfile
|
|
@ -9,12 +9,10 @@ ARG BASE_CUDA_RUN_CONTAINER=nvidia/cuda:${CUDA_VERSION}-runtime-ubuntu${UBUNTU_V
|
||||||
FROM ${BASE_CUDA_DEV_CONTAINER} as build
|
FROM ${BASE_CUDA_DEV_CONTAINER} as build
|
||||||
|
|
||||||
ENV DEBIAN_FRONTEND=noninteractive
|
ENV DEBIAN_FRONTEND=noninteractive
|
||||||
# Use kitware's repo to make sure CMake is newer than 3.17.
|
# Install latest cmake
|
||||||
RUN wget -O - https://apt.kitware.com/keys/kitware-archive-latest.asc 2>/dev/null | \
|
RUN wget -qO - https://apt.kitware.com/kitware-archive.sh | bash -s -- --release focal
|
||||||
gpg --dearmor - | tee /usr/share/keyrings/kitware-archive-keyring.gpg >/dev/null && \
|
|
||||||
echo 'deb [signed-by=/usr/share/keyrings/kitware-archive-keyring.gpg] https://apt.kitware.com/ubuntu/ focal main' | \
|
RUN apt-get update && \
|
||||||
tee /etc/apt/sources.list.d/kitware.list >/dev/null && \
|
|
||||||
apt-get update && \
|
|
||||||
apt-get install -y --no-install-recommends \
|
apt-get install -y --no-install-recommends \
|
||||||
curl \
|
curl \
|
||||||
pkg-config \
|
pkg-config \
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue