Skip to content

Commit 39887a1

Browse files
authored
Fix docker build and Update documentation (JDAI-CV#685)
1 parent afe432b commit 39887a1

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

INSTALL.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,4 +25,5 @@ pip install -r docs/requirements.txt
2525
```
2626

2727
# Set up with Dockder
28-
comming soon
28+
29+
Please check the [docker folder](docker)

docker/Dockerfile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
FROM nvidia/cuda:10.1-cudnn7-devel
22

3+
# https://github.com/NVIDIA/nvidia-docker/issues/1632
4+
RUN rm /etc/apt/sources.list.d/cuda.list
5+
RUN rm /etc/apt/sources.list.d/nvidia-ml.list
36
ENV DEBIAN_FRONTEND noninteractive
47
RUN apt-get update && apt-get install -y \
58
python3-opencv ca-certificates python3-dev git wget sudo ninja-build
@@ -12,8 +15,9 @@ RUN echo '%sudo ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers
1215
USER appuser
1316
WORKDIR /home/appuser
1417

18+
# https://github.com/facebookresearch/detectron2/issues/3933
1519
ENV PATH="/home/appuser/.local/bin:${PATH}"
16-
RUN wget https://bootstrap.pypa.io/get-pip.py && \
20+
RUN wget https://bootstrap.pypa.io/pip/3.6/get-pip.py && \
1721
python3 get-pip.py --user && \
1822
rm get-pip.py
1923

0 commit comments

Comments
 (0)