-
Notifications
You must be signed in to change notification settings - Fork 2
/
Dockerfile
56 lines (46 loc) · 1.44 KB
/
Dockerfile
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
44
45
46
47
48
49
50
51
52
53
54
55
56
FROM ubuntu:16.04
MAINTAINER KnightWhoSayNi <threeheadedknight@protonmail.com>
RUN apt-get update -qq && \
apt-get -u upgrade -qq
RUN apt-get install -y --no-install-recommends \
curl \
wget \
zip \
unzip \
git \
bash \
sudo \
apt-transport-https \
ca-certificates \
cmake \
make \
automake \
build-essential \
vim \
nano \
tree \
cpio \
lsb-release
ARG PYTHON=python3
ARG PIP=pip3
RUN apt-get install -y ${PYTHON} ${PYTHON}-pip ${PYTHON}-dev ${PYTHON}-venv
RUN ln -s $(which ${PYTHON}) /usr/local/bin/python
RUN ${PIP} install --upgrade pip
RUN ${PIP} install --upgrade setuptools
RUN apt-get clean && \
apt-get autoremove
ARG OPENVINO_GPG_PUB_KEY=https://apt.repos.intel.com/openvino/2019/GPG-PUB-KEY-INTEL-OPENVINO-2019
RUN wget -O OPENVINO_GPG_PUB_KEY ${OPENVINO_GPG_PUB_KEY} && \
apt-key add OPENVINO_GPG_PUB_KEY && \
apt-key list && \
echo "deb https://apt.repos.intel.com/openvino/2019/ all main" > /etc/apt/sources.list.d/intel-openvino-2019.list && \
apt-get update && \
apt-cache search openvino && \
apt-get install -y intel-openvino-dev-ubuntu16-2019.3.376 && \
apt-get clean && \
apt-get autoremove
RUN cd /opt/intel/openvino/deployment_tools/model_optimizer/install_prerequisites && \
./install_prerequisites.sh
RUN cd /opt/intel/openvino/deployment_tools/demo && \
./demo_squeezenet_download_convert_run.sh
CMD ["/bin/bash"]