@@ -70,19 +70,30 @@ ENV PATH="/usr/local/bin:${PATH}"
7070# Disable conda by default - using system Python
7171ENV CONDA_AUTO_ACTIVATE_BASE=false
7272
73+ # Prepare the container environment and directories
74+ RUN mkdir -p ${CODE_PATH}
75+ WORKDIR ${CODE_PATH}
76+
7377# Install pre-dependencies
74- RUN apt-get update -y && apt upgrade -y && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
78+ RUN apt-get update -y
79+ RUN apt-get install wget -y
80+ RUN wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/x86_64/libxnvctrl0_575.57.08-0ubuntu1_amd64.deb
81+ RUN chmod +x ${CODE_PATH}/libxnvctrl0_575.57.08-0ubuntu1_amd64.deb
82+ RUN apt install ./libxnvctrl0_575.57.08-0ubuntu1_amd64.deb -y
83+ RUN rm -rf ${CODE_PATH}/libxnvctrl0_575.57.08-0ubuntu1_amd64.deb
84+
85+ RUN DEBIAN_FRONTEND=noninteractive apt-get clean && apt-get update -y && apt-get upgrade -y && apt-get install -y --no-install-recommends \
7586 git \
7687 unzip \
77- # Building from source for specific ver cmake \
88+ # Building from source for specific version cmake \
7889 make \
7990 ninja-build \
8091 build-essential \
8192 libboost-program-options-dev \
8293 libboost-filesystem-dev \
8394 libboost-graph-dev \
8495 libboost-system-dev \
85- # Building from source for specific ver libeigen3-dev \
96+ # Building from source for specific version libeigen3-dev \
8697 libflann-dev \
8798 libfreeimage-dev \
8899 libmetis-dev \
@@ -93,9 +104,8 @@ RUN apt-get update -y && apt upgrade -y && DEBIAN_FRONTEND=noninteractive apt-ge
93104 qtbase5-dev \
94105 libqt5opengl5-dev \
95106 libcgal-dev \
96- # Building from source for specific ver libceres-dev \
107+ # Building from source for specific version libceres-dev \
97108 libffi-dev \
98- wget \
99109 libgflags-dev \
100110 libatlas-base-dev \
101111 libsuitesparse-dev \
@@ -113,10 +123,6 @@ RUN apt-get update -y && apt upgrade -y && DEBIAN_FRONTEND=noninteractive apt-ge
113123# Install and upgrade pip and dependencies
114124RUN pip install --upgrade pip
115125
116- # Prepare the container environment and directories
117- RUN mkdir -p ${CODE_PATH}
118- WORKDIR ${CODE_PATH}
119-
120126# Install Python v3.11 and make it the default
121127RUN cd /usr/src \
122128 && wget https://www.python.org/ftp/python/3.11.0/Python-3.11.0.tgz \
0 commit comments