Skip to content
Permalink
Branch: master
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
47 lines (34 sloc) 1.09 KB
FROM ubuntu:16.04
ADD l_openvino_toolkit* /openvino/
ARG INSTALL_DIR=/opt/intel/computer_vision_sdk
RUN apt-get update && apt-get -y upgrade && apt-get autoremove
#Install needed dependences
RUN apt-get install -y --no-install-recommends \
build-essential \
cpio \
curl \
git \
lsb-release \
pciutils \
python3.5 \
python3.5-dev \
python3-pip \
python3-setuptools \
sudo
# installing OpenVINO dependencies
RUN cd /openvino/l_openvino_toolkit* && \
./install_cv_sdk_dependencies.sh
RUN pip3 install numpy
# installing OpenVINO itself
RUN cd /openvino/l_openvino_toolkit* && \
sed -i 's/decline/accept/g' silent.cfg && \
./install.sh --silent silent.cfg
# Model Optimizer
RUN cd $INSTALL_DIR/deployment_tools/model_optimizer/install_prerequisites && \
./install_prerequisites.sh
# clean up
RUN apt autoremove -y && \
rm -rf /openvino /var/lib/apt/lists/*
RUN /bin/bash -c "source $INSTALL_DIR/bin/setupvars.sh"
RUN echo "source $INSTALL_DIR/bin/setupvars.sh" >> /root/.bashrc
CMD ["/bin/bash"]
You can’t perform that action at this time.