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 --branch kontron --depth 1
# build Inference Engine Samples
RUN $INSTALL_DIR/deployment_tools/inference_engine/samples/
# build demo samples
RUN $INSTALL_DIR/deployment_tools/inference_engine/demos/
RUN apt autoremove -y && rm -rf /var/lib/apt/lists/*
RUN apt install -y libmosquittopp-dev && \
rm -rf open_model_zoo && \
git clone --branch MQTT1 --depth 1 && \
$INSTALL_DIR/deployment_tools/inference_engine/samples/ && \
$INSTALL_DIR/deployment_tools/inference_engine/demos/ && \
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