blob: ab969de1c65ede09667aa4a876e645733fc31d2f [file] [log] [blame]
Shad Ansariea2e1dd2022-06-09 12:37:37 -07001#
2# SPDX-FileCopyrightText: 2022-present Intel Corporation
3# SPDX-FileCopyrightText: 2020-present Open Networking Foundation <info@opennetworking.org>
4# SPDX-License-Identifier: Apache-2.0
5#
6
Shad Ansari47432b62021-09-27 22:46:25 +00007#python3 docker_openvino.py build -d cpu -os ubuntu18 --distribution runtime --product_version 2021.4
Shad Ansari2948cc02022-04-14 21:33:37 +00008FROM openvino/ubuntu18_runtime:2021.4
Shad Ansari47432b62021-09-27 22:46:25 +00009
10USER root
11
12RUN apt-get update && apt-get install -y \
13 wget \
14 unzip \
15 libglib2.0-0 \
16 libsm6 \
17 libxrender1 \
18 libxext6 \
19 vim \
20 ffmpeg \
21 x11-apps
22
23RUN 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
24
25WORKDIR /var/person-detection-app
26
27COPY . .
28
Shad Ansariab4141c2021-12-03 03:33:18 +000029RUN pip3 install -r requirements.txt
Shad Ansari47432b62021-09-27 22:46:25 +000030
Shad Ansarib652dc72022-05-13 21:11:16 +000031ENTRYPOINT ["./bin/person_detection.sh"]