forked from OpenISS/openiss-dockerfiles
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile.oi-reid
43 lines (32 loc) · 1.13 KB
/
Dockerfile.oi-reid
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
FROM continuumio/miniconda3 AS conda
FROM openiss/openiss-cuda-base:F22-01 AS buildbase
COPY --from=conda /opt/conda /opt/conda
#FROM openiss-cuda-base:F22-01 AS buildbase
#RUN apt-get update
#RUN apt-get install -y git make
#RUN apt-get install -y nvidia-utils
#RUN apt-get install -y curl
RUN apt-get install -y wget unzip \
&& apt-get clean
#WORKDIR /code/nvidia
#RUN git clone https://github.com/NVIDIA/cuda-samples.git
#WORKDIR /tmp
#curl –O https://repo.anaconda.com/archive/Anaconda3-2020.02-Linux-x86_64.sh
#bash Anaconda3-2020.02-Linux-x86_64.sh
#WORKDIR cuda-samples/Samples/1_Utilities/deviceQuery
WORKDIR /
RUN git clone --depth 1 https://github.com/carlos-encs/openiss-reid-tfk.git
RUN cd openiss-reid-tfk/datasets \
&& chmod u+x get_dataset_market1501.sh \
&& ./get_dataset_market1501.sh
#cd openiss-reid-tfk/
#conda env create -f environment.yml -p ./reid-venv
#source /opt/conda/etc/profile.d/conda.sh
#/opt/conda/bin/conda init bash
#conda activate ./reid-venv
#python reid.py
#conda deactivate
# 90 breaks currently in nvcc in 11.7
#RUN make SMS="35 37 50 52 60 61 70 75 80 86"
#CMD ./deviceQuery
CMD /bin/bash