dlstreamer / pipeline-server

Home of Intel(R) Deep Learning Streamer Pipeline Server (formerly Video Analytics Serving)
BSD 3-Clause "New" or "Revised" License
123 stars 50 forks source link

docker build command fails #124

Closed nikparmar closed 1 year ago

nikparmar commented 1 year ago

Command: ./docker/build.sh

Error:

Step 14/60 : RUN if [[ ${PIPELINE_SERVER_BASE} == *"openvino/ubuntu20_data_runtime"* || ${PIPELINE_SERVER_BASE} == *"intel/dlstreamer"* ]]; then     DEBIAN_FRONTEND=noninteractive apt-get update &&     apt-get install -y -q --no-install-recommends     libboost-program-options1.71.0 &&     apt-get clean &&     rm -rf /var/lib/apt/lists/* ;    fi
 ---> Running in a5f5d84e7ae1
Get:1 https://apt.repos.intel.com/openvino/2022 focal InRelease [11.4 kB]
Err:2 https://af01p-ir.devtools.intel.com/artifactory/dlstreamerci-ir-local focal InRelease
  Could not resolve 'af01p-ir.devtools.intel.com'
Hit:3 http://archive.ubuntu.com/ubuntu focal InRelease
Get:4 http://archive.ubuntu.com/ubuntu focal-updates InRelease [114 kB]
Get:5 http://security.ubuntu.com/ubuntu focal-security InRelease [114 kB]
Get:6 http://archive.ubuntu.com/ubuntu focal-backports InRelease [108 kB]
Get:7 http://security.ubuntu.com/ubuntu focal-security/multiverse amd64 Packages [28.5 kB]
Get:8 http://security.ubuntu.com/ubuntu focal-security/universe amd64 Packages [998 kB]
Get:9 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 Packages [1297 kB]
Get:10 http://security.ubuntu.com/ubuntu focal-security/main amd64 Packages [2496 kB]
Get:11 http://archive.ubuntu.com/ubuntu focal-updates/multiverse amd64 Packages [31.2 kB]
Get:12 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages [2970 kB]
Get:13 http://security.ubuntu.com/ubuntu focal-security/restricted amd64 Packages [1937 kB]
Get:14 http://archive.ubuntu.com/ubuntu focal-updates/restricted amd64 Packages [2066 kB]
Get:15 http://archive.ubuntu.com/ubuntu focal-backports/main amd64 Packages [55.2 kB]
Get:16 http://archive.ubuntu.com/ubuntu focal-backports/universe amd64 Packages [28.6 kB]
Reading package lists...
E: Repository 'https://apt.repos.intel.com/openvino/2022 focal InRelease' changed its 'Label' value from '' to 'Intel OpenVINO Debian Repo'
The command '/bin/bash -c if [[ ${PIPELINE_SERVER_BASE} == *"openvino/ubuntu20_data_runtime"* || ${PIPELINE_SERVER_BASE} == *"intel/dlstreamer"* ]]; then     DEBIAN_FRONTEND=noninteractive apt-get update &&     apt-get install -y -q --no-install-recommends     libboost-program-options1.71.0 &&     apt-get clean &&     rm -rf /var/lib/apt/lists/* ;    fi' returned a non-zero code: 100

seems like this issue

How to overcome this issue?

leopck commented 1 year ago

@nikparmar yes, this is currently an issue that we are seeing from our side as well. A simple workaround that we are using for now is to use this until we release a new update:

apt-get update --allow-releaseinfo-change using --allow-releaseinfo-change will skip this issue all together.

RUN if [[ ${PIPELINE_SERVER_BASE} == *"openvino/ubuntu20_data_runtime"* || ${PIPELINE_SERVER_BASE} == *"intel/dlstreamer"* ]]; then \
    DEBIAN_FRONTEND=noninteractive apt-get update --allow-releaseinfo-change && \
    apt-get install -y -q --no-install-recommends \
    libboost-program-options1.71.0 && \
    apt-get clean && \
mulcas commented 1 year ago

Or just replace the Dockerfile by this one if you don't want to mess with an editor.

DOCKER~1.ZIP

EDIT: Change the name back to "Dockerfile", if you see a different one from the attached.