Commit 4099df97 authored by GONZALES ZUNIGA Juan Diego's avatar GONZALES ZUNIGA Juan Diego
Browse files

Rework dockerfile demo with git tag branch

parent 341638df
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment