blob: 882c5d0f5870c495c7fb4332140ffe021c39bf41 [file] [log] [blame]
Shad Ansari47432b62021-09-27 22:46:25 +00001#python3 docker_openvino.py build -d cpu -os ubuntu18 --distribution runtime --product_version 2021.4
Shad Ansarid80531f2021-09-27 23:15:03 +00002#FROM ubuntu18_runtime:2021.4
3FROM openvino/ubuntu18_runtime
Shad Ansari47432b62021-09-27 22:46:25 +00004
5USER root
6
7RUN apt-get update && apt-get install -y \
8 wget \
9 unzip \
10 libglib2.0-0 \
11 libsm6 \
12 libxrender1 \
13 libxext6 \
14 vim \
15 ffmpeg \
16 x11-apps
17
18RUN apt-get install -y libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev libgstreamer-plugins-bad1.0-dev gstreamer1.0-plugins-base gstreamer1.0-plugins-good gstreamer1.0-plugins-bad gstreamer1.0-plugins-ugly gstreamer1.0-libav gstreamer1.0-doc gstreamer1.0-tools gstreamer1.0-x gstreamer1.0-alsa gstreamer1.0-gl gstreamer1.0-gtk3 gstreamer1.0-qt5 gstreamer1.0-pulseaudio
19
20WORKDIR /var/person-detection-app
21
22COPY . .
23
24RUN . .venv/bin/activate && \
25 pip3 install -r requirements.txt
26
Shad Ansarid80531f2021-09-27 23:15:03 +000027ENTRYPOINT ["./bin/person_detection.sh"]
Shad Ansari54bf2f02021-09-30 19:13:22 +000028CMD ["-i gstreamer"]