Skip to content

Commit

Permalink
drop duplicated pip package
Browse files Browse the repository at this point in the history
  • Loading branch information
dtrawins committed Oct 9, 2023
1 parent 813f520 commit 9ec590a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 18 deletions.
2 changes: 2 additions & 0 deletions templates/rhel8/dist/runtime.dockerfile.j2
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Install OpenVINO python API dependency
${PYTHON_VER} -m pip install --no-cache-dir numpy==1.24.4

WORKDIR ${INTEL_OPENVINO_DIR}/licensing
RUN curl -L https://raw.githubusercontent.com/openvinotoolkit/docker_ci/master/dockerfiles/rhel8/third-party-programs-docker-runtime.txt --output third-party-programs-docker-runtime.txt
11 changes: 2 additions & 9 deletions templates/ubuntu20/dist/runtime.dockerfile.j2
Original file line number Diff line number Diff line change
@@ -1,12 +1,5 @@
# runtime package
WORKDIR ${INTEL_OPENVINO_DIR}
ARG OPENVINO_WHEELS_VERSION={{ product_version }}
ARG OPENVINO_WHEELS_URL
RUN if [ -z "$OPENVINO_WHEELS_URL" ]; then \
${PYTHON_VER} -m pip install --no-cache-dir openvino=="$OPENVINO_WHEELS_VERSION" ; \
else \
${PYTHON_VER} -m pip install --no-cache-dir --pre openvino=="$OPENVINO_WHEELS_VERSION" --trusted-host=* --find-links "$OPENVINO_WHEELS_URL" ; \
fi
# Install OpenVINO python API dependency
RUN ${PYTHON_VER} -m pip install --no-cache-dir numpy==1.24.4

WORKDIR ${INTEL_OPENVINO_DIR}/licensing
# Please use `third-party-programs-docker-runtime.txt` short path to 3d party file if you use the Dockerfile directly from docker_ci/dockerfiles repo folder
Expand Down
11 changes: 2 additions & 9 deletions templates/ubuntu22/dist/runtime.dockerfile.j2
Original file line number Diff line number Diff line change
@@ -1,12 +1,5 @@
# runtime package
WORKDIR ${INTEL_OPENVINO_DIR}
ARG OPENVINO_WHEELS_VERSION={{ product_version }}
ARG OPENVINO_WHEELS_URL
RUN if [ -z "$OPENVINO_WHEELS_URL" ]; then \
${PYTHON_VER} -m pip install --no-cache-dir openvino=="$OPENVINO_WHEELS_VERSION" ; \
else \
${PYTHON_VER} -m pip install --no-cache-dir --pre openvino=="$OPENVINO_WHEELS_VERSION" --trusted-host=* --find-links "$OPENVINO_WHEELS_URL" ; \
fi
# Install OpenVINO python API dependency
RUN ${PYTHON_VER} -m pip install --no-cache-dir numpy==1.24.4

WORKDIR ${INTEL_OPENVINO_DIR}/licensing
# Please use `third-party-programs-docker-runtime.txt` short path to 3d party file if you use the Dockerfile directly from docker_ci/dockerfiles repo folder
Expand Down

0 comments on commit 9ec590a

Please sign in to comment.