iot-salzburg/gpu-jupyter

nvtop src directory

ChristofKaufmann opened this issue · 1 comments

I seems, after building and installing nvtop you are removing the wrong (non-existing) directory. In line 32 and 33 you clone and go into /run/nvtop, but in line 37 you remove /tmp/nvtop.

RUN git clone https://github.com/Syllo/nvtop.git /run/nvtop && \
mkdir -p /run/nvtop/build && cd /run/nvtop/build && \
(cmake .. -DNVML_RETRIEVE_HEADER_ONLINE=True 2> /dev/null || echo "cmake was not successful") && \
(make 2> /dev/null || echo "make was not successful") && \
(make install 2> /dev/null || echo "make install was not successful") && \
cd /tmp && rm -rf /tmp/nvtop

When I look inside the image, I can see the source and build artifacts in /run/nvtop/.

Yes @ChristofKaufmann you are right! Thank you!