mirror of https://github.com/JDAI-CV/fast-reid.git
Fix docker build and Update documentation (#685)
parent
afe432b8c0
commit
39887a102e
|
@ -25,4 +25,5 @@ pip install -r docs/requirements.txt
|
||||||
```
|
```
|
||||||
|
|
||||||
# Set up with Dockder
|
# Set up with Dockder
|
||||||
comming soon
|
|
||||||
|
Please check the [docker folder](docker)
|
||||||
|
|
|
@ -1,5 +1,8 @@
|
||||||
FROM nvidia/cuda:10.1-cudnn7-devel
|
FROM nvidia/cuda:10.1-cudnn7-devel
|
||||||
|
|
||||||
|
# https://github.com/NVIDIA/nvidia-docker/issues/1632
|
||||||
|
RUN rm /etc/apt/sources.list.d/cuda.list
|
||||||
|
RUN rm /etc/apt/sources.list.d/nvidia-ml.list
|
||||||
ENV DEBIAN_FRONTEND noninteractive
|
ENV DEBIAN_FRONTEND noninteractive
|
||||||
RUN apt-get update && apt-get install -y \
|
RUN apt-get update && apt-get install -y \
|
||||||
python3-opencv ca-certificates python3-dev git wget sudo ninja-build
|
python3-opencv ca-certificates python3-dev git wget sudo ninja-build
|
||||||
|
@ -12,8 +15,9 @@ RUN echo '%sudo ALL=(ALL) NOPASSWD:ALL' >> /etc/sudoers
|
||||||
USER appuser
|
USER appuser
|
||||||
WORKDIR /home/appuser
|
WORKDIR /home/appuser
|
||||||
|
|
||||||
|
# https://github.com/facebookresearch/detectron2/issues/3933
|
||||||
ENV PATH="/home/appuser/.local/bin:${PATH}"
|
ENV PATH="/home/appuser/.local/bin:${PATH}"
|
||||||
RUN wget https://bootstrap.pypa.io/get-pip.py && \
|
RUN wget https://bootstrap.pypa.io/pip/3.6/get-pip.py && \
|
||||||
python3 get-pip.py --user && \
|
python3 get-pip.py --user && \
|
||||||
rm get-pip.py
|
rm get-pip.py
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue