2022-09-24 16:38:24 +02:00
|
|
|
FROM nvidia/cuda:11.4.0-cudnn8-devel-ubuntu20.04
|
2022-09-24 10:46:55 +02:00
|
|
|
|
|
|
|
RUN apt-get update && \
|
2022-09-24 16:38:24 +02:00
|
|
|
DEBIAN_FRONTEND=noninteractive apt-get install -y openjdk-11-jdk wget build-essential checkinstall zlib1g-dev libssl-dev git
|
2022-10-07 15:04:30 +02:00
|
|
|
#Build cmake version from source \
|
|
|
|
#RUN wget https://github.com/Kitware/CMake/releases/download/v3.24.2/cmake-3.24.2.tar.gz && \
|
|
|
|
# tar -xvf cmake-3.24.2.tar.gz && cd cmake-3.24.2 && \
|
|
|
|
# ./bootstrap && make && make install
|
|
|
|
RUN wget -nv https://github.com/Kitware/CMake/releases/download/v3.24.2/cmake-3.24.2-linux-x86_64.sh && \
|
|
|
|
mkdir /opt/cmake && sh ./cmake-3.24.2-linux-x86_64.sh --skip-license --prefix=/opt/cmake && ln -s /opt/cmake/bin/cmake /usr/bin/cmake && \
|
|
|
|
rm cmake-3.24.2-linux-x86_64.sh
|
|
|
|
|
2022-09-24 16:38:24 +02:00
|
|
|
|
2022-10-11 07:59:22 +02:00
|
|
|
RUN echo "nameserver 8.8.8.8" >> /etc/resolv.conf
|
|
|
|
|