Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
GONZALES ZUNIGA Juan Diego
dockervino
Commits
4099df97
Commit
4099df97
authored
Dec 02, 2019
by
GONZALES ZUNIGA Juan Diego
Browse files
Rework dockerfile demo with git tag branch
parent
341638df
Changes
1
Hide whitespace changes
Inline
Side-by-side
demo/Dockerfile
View file @
4099df97
...
...
@@ -2,15 +2,13 @@ FROM local/dockervino:phase2 as phase2
FROM
local/dockervino:phase1 as phase1
ARG
INSTALL_DIR=/opt/intel/openvino
WORKDIR
$INSTALL_DIR/deployment_tools
RUN
apt
install
-y
libmosquittopp-dev
RUN
rm
-rf
open_model_zoo
# clone forked branch
RUN
git clone https://github.com/Ukhupacha/open_model_zoo.git
--branch
kontron
--depth
1
# build Inference Engine Samples
RUN
$INSTALL_DIR
/deployment_tools/inference_engine/samples/build_samples.sh
# build demo samples
RUN
$INSTALL_DIR
/deployment_tools/inference_engine/demos/build_demos.sh
RUN
apt autoremove
-y
&&
rm
-rf
/var/lib/apt/lists/
*
RUN
apt
install
-y
libmosquittopp-dev
&&
\
rm
-rf
open_model_zoo
&&
\
git clone https://github.com/Ukhupacha/open_model_zoo.git
--branch
MQTT1
--depth
1
&&
\
$INSTALL_DIR
/deployment_tools/inference_engine/samples/build_samples.sh
&&
\
$INSTALL_DIR
/deployment_tools/inference_engine/demos/build_demos.sh
&&
\
rm
-rf
$INSTALL_DIR
/deployment_tools/open_model_zoo
&&
\
apt autoremove
-y
&&
rm
-rf
/var/lib/apt/lists/
*
FROM
scratch
COPY
--from=phase1 / /
COPY
--from=phase2 /root/openvino_models/ir /root/openvino_models/ir
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment