From 5f6f82e9a628fafc73fb9ff8b56265fe67d8b522 Mon Sep 17 00:00:00 2001 From: Anokhov Date: Tue, 9 Apr 2024 12:12:02 +0200 Subject: [PATCH 1/2] Checkout 2022.3 release branch of OMZ for dev images --- dockerfiles/rhel8/openvino_cg_dev_2022.3.1.dockerfile | 2 +- dockerfiles/ubuntu18/openvino_cgvh_dev_2022.3.1.dockerfile | 2 +- dockerfiles/ubuntu20/openvino_cgvh_dev_2022.3.1.dockerfile | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/dockerfiles/rhel8/openvino_cg_dev_2022.3.1.dockerfile b/dockerfiles/rhel8/openvino_cg_dev_2022.3.1.dockerfile index 2ea320cc..71b450ac 100644 --- a/dockerfiles/rhel8/openvino_cg_dev_2022.3.1.dockerfile +++ b/dockerfiles/rhel8/openvino_cg_dev_2022.3.1.dockerfile @@ -325,7 +325,7 @@ RUN ./build_samples.sh -b build && \ # add Model API package # hadolint ignore=DL3013 -RUN git clone https://github.com/openvinotoolkit/open_model_zoo && \ +RUN git clone --branch releases/2022/3 https://github.com/openvinotoolkit/open_model_zoo && \ sed -i '/opencv-python/d' open_model_zoo/demos/common/python/requirements.txt && \ pip3 --no-cache-dir install open_model_zoo/demos/common/python/ && \ rm -Rf open_model_zoo && \ diff --git a/dockerfiles/ubuntu18/openvino_cgvh_dev_2022.3.1.dockerfile b/dockerfiles/ubuntu18/openvino_cgvh_dev_2022.3.1.dockerfile index b22c38bc..6cc51234 100644 --- a/dockerfiles/ubuntu18/openvino_cgvh_dev_2022.3.1.dockerfile +++ b/dockerfiles/ubuntu18/openvino_cgvh_dev_2022.3.1.dockerfile @@ -339,7 +339,7 @@ RUN ./build_samples.sh -b build && \ # add Model API package # hadolint ignore=DL3013 -RUN git clone https://github.com/openvinotoolkit/open_model_zoo && \ +RUN git clone --branch releases/2022/3 https://github.com/openvinotoolkit/open_model_zoo && \ sed -i '/opencv-python/d' open_model_zoo/demos/common/python/requirements.txt && \ pip3 --no-cache-dir install open_model_zoo/demos/common/python/ && \ rm -Rf open_model_zoo && \ diff --git a/dockerfiles/ubuntu20/openvino_cgvh_dev_2022.3.1.dockerfile b/dockerfiles/ubuntu20/openvino_cgvh_dev_2022.3.1.dockerfile index 32aeb1e5..a34a905e 100644 --- a/dockerfiles/ubuntu20/openvino_cgvh_dev_2022.3.1.dockerfile +++ b/dockerfiles/ubuntu20/openvino_cgvh_dev_2022.3.1.dockerfile @@ -334,7 +334,7 @@ RUN ./build_samples.sh -b build && \ # add Model API package # hadolint ignore=DL3013 -RUN git clone https://github.com/openvinotoolkit/open_model_zoo && \ +RUN git clone --branch releases/2022/3 https://github.com/openvinotoolkit/open_model_zoo && \ sed -i '/opencv-python/d' open_model_zoo/demos/common/python/requirements.txt && \ pip3 --no-cache-dir install open_model_zoo/demos/common/python/ && \ rm -Rf open_model_zoo && \ From 77bb0a199900016a53257882606cc6fbb558d933 Mon Sep 17 00:00:00 2001 From: Anokhov Date: Tue, 9 Apr 2024 12:48:28 +0200 Subject: [PATCH 2/2] [Templates] Checkout 22.3 release branch for OMZ in dev templates --- dockerfiles/ubuntu20/openvino_cgvh_dev_2022.3.1.dockerfile | 2 +- templates/rhel8/dist/dev.dockerfile.j2 | 2 +- templates/ubuntu18/dist/dev.dockerfile.j2 | 2 +- templates/ubuntu20/dist/dev.dockerfile.j2 | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/dockerfiles/ubuntu20/openvino_cgvh_dev_2022.3.1.dockerfile b/dockerfiles/ubuntu20/openvino_cgvh_dev_2022.3.1.dockerfile index a34a905e..f9b50167 100644 --- a/dockerfiles/ubuntu20/openvino_cgvh_dev_2022.3.1.dockerfile +++ b/dockerfiles/ubuntu20/openvino_cgvh_dev_2022.3.1.dockerfile @@ -334,7 +334,7 @@ RUN ./build_samples.sh -b build && \ # add Model API package # hadolint ignore=DL3013 -RUN git clone --branch releases/2022/3 https://github.com/openvinotoolkit/open_model_zoo && \ +RUN git clone --branch releases/2022/3 https://github.com/openvinotoolkit/open_model_zoo && \ sed -i '/opencv-python/d' open_model_zoo/demos/common/python/requirements.txt && \ pip3 --no-cache-dir install open_model_zoo/demos/common/python/ && \ rm -Rf open_model_zoo && \ diff --git a/templates/rhel8/dist/dev.dockerfile.j2 b/templates/rhel8/dist/dev.dockerfile.j2 index cf10ea0c..a12003ca 100644 --- a/templates/rhel8/dist/dev.dockerfile.j2 +++ b/templates/rhel8/dist/dev.dockerfile.j2 @@ -36,7 +36,7 @@ RUN ./build_samples.sh -b build && \ # add Model API package # hadolint ignore=DL3013 -RUN git clone https://github.com/openvinotoolkit/open_model_zoo && \ +RUN git clone --branch releases/2022/3 https://github.com/openvinotoolkit/open_model_zoo && \ sed -i '/opencv-python/d' open_model_zoo/demos/common/python/requirements.txt && \ pip3 --no-cache-dir install open_model_zoo/demos/common/python/ && \ rm -Rf open_model_zoo && \ diff --git a/templates/ubuntu18/dist/dev.dockerfile.j2 b/templates/ubuntu18/dist/dev.dockerfile.j2 index 43b24165..55fb96bc 100644 --- a/templates/ubuntu18/dist/dev.dockerfile.j2 +++ b/templates/ubuntu18/dist/dev.dockerfile.j2 @@ -31,7 +31,7 @@ RUN ./build_samples.sh -b build && \ # add Model API package # hadolint ignore=DL3013 -RUN git clone https://github.com/openvinotoolkit/open_model_zoo && \ +RUN git clone --branch releases/2022/3 https://github.com/openvinotoolkit/open_model_zoo && \ sed -i '/opencv-python/d' open_model_zoo/demos/common/python/requirements.txt && \ pip3 --no-cache-dir install open_model_zoo/demos/common/python/ && \ rm -Rf open_model_zoo && \ diff --git a/templates/ubuntu20/dist/dev.dockerfile.j2 b/templates/ubuntu20/dist/dev.dockerfile.j2 index a38a6d5f..96facbd3 100644 --- a/templates/ubuntu20/dist/dev.dockerfile.j2 +++ b/templates/ubuntu20/dist/dev.dockerfile.j2 @@ -29,7 +29,7 @@ RUN ./build_samples.sh -b build && \ # add Model API package # hadolint ignore=DL3013 -RUN git clone https://github.com/openvinotoolkit/open_model_zoo && \ +RUN git clone --branch releases/2022/3 https://github.com/openvinotoolkit/open_model_zoo && \ sed -i '/opencv-python/d' open_model_zoo/demos/common/python/requirements.txt && \ pip3 --no-cache-dir install open_model_zoo/demos/common/python/ && \ rm -Rf open_model_zoo && \