Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docker build fail with ubuntu22_dev:2023.0.0 #290

Open
foxnight2 opened this issue Oct 18, 2023 · 0 comments
Open

docker build fail with ubuntu22_dev:2023.0.0 #290

foxnight2 opened this issue Oct 18, 2023 · 0 comments

Comments

@foxnight2
Copy link

docker version

Client:
 Cloud integration: v1.0.35-desktop+001
 Version:           24.0.5
 API version:       1.43
 Go version:        go1.20.6
 Git commit:        ced0996
 Built:             Fri Jul 21 20:36:24 2023
 OS/Arch:           windows/amd64
 Context:           default

Server: Docker Desktop 4.22.1 (118664)
 Engine:
  Version:          24.0.5
  API version:      1.43 (minimum version 1.12)
  Go version:       go1.20.6
  Git commit:       a61e2b4
  Built:            Fri Jul 21 20:35:45 2023
  OS/Arch:          linux/amd64
  Experimental:     false
 containerd:
  Version:          1.6.21
  GitCommit:        3dce8eb055cbb6872793272b4f20ed16117344f8
 runc:
  Version:          1.1.7
  GitCommit:        v1.1.7-0-g860f061
 docker-init:
  Version:          0.19.0
  GitCommit:        de40ad0

system: windows 11

command

docker build -t ubuntu22_dev:2023.0.0 -f dockerfiles/ubuntu22/openvino_cg_dev_2023.0.0.dockerfile .

error

[+] Building 6.6s (13/45)                                                                                           docker:default
 => [internal] load .dockerignore                                                                                             0.0s
 => => transferring context: 87B                                                                                              0.0s
 => [internal] load build definition from openvino_cg_dev_2023.0.0.dockerfile                                                 0.0s
 => => transferring dockerfile: 14.54kB                                                                                       0.0s
 => [internal] load metadata for docker.io/library/ubuntu:22.04                                                               2.6s
 => [internal] load build context                                                                                             0.0s
 => => transferring context: 231B                                                                                             0.0s
 => [base 1/8] FROM docker.io/library/ubuntu:22.04@sha256:2b7412e6465c3c7fc5bb21d3e6f1917c167358449fecac8176c6e496e5c1f05f    0.0s
 => CACHED https://storage.openvinotoolkit.org/repositories/openvino/packages/2023.0.2/windows/w_openvino_toolkit_windows_20  2.4s
 => CACHED [base 2/8] RUN apt-get update &&     apt-get install -y --no-install-recommends curl tzdata ca-certificates &&     0.0s
 => CACHED [base 3/8] WORKDIR /tmp/openvino_installer                                                                         0.0s
 => CACHED [ov_base  2/28] RUN sed -ri -e 's@^UMASK[[:space:]]+[[:digit:]]+@UMASK 000@g' /etc/login.defs &&  grep -E "^UMASK  0.0s
 => CACHED [ov_base  3/28] RUN mkdir /opt/intel                                                                               0.0s
 => [base 4/8] ADD https://storage.openvinotoolkit.org/repositories/openvino/packages/2023.0.2/windows/w_openvino_toolkit_wi  0.5s
 => [base 5/8] RUN useradd -ms /bin/bash -G users openvino                                                                    0.4s
 => ERROR [base 6/8] RUN tar -xzf "/tmp/openvino_installer"/*.tgz &&     OV_BUILD="$(find . -maxdepth 1 -type d -name "*open  0.6s
------
 > [base 6/8] RUN tar -xzf "/tmp/openvino_installer"/*.tgz &&     OV_BUILD="$(find . -maxdepth 1 -type d -name "*openvino*" | grep -oP '(?<=_)\d+.\d+.\d.\d+')" &&     OV_YEAR="$(echo "$OV_BUILD" | grep -oP '^[^\d]*(\d+)')" &&     OV_FOLDER="$(find . -maxdepth 1 -type d -name "*openvino*")" &&     mkdir -p /opt/intel/openvino_"$OV_BUILD"/ &&     cp -rf "$OV_FOLDER"/*  /opt/intel/openvino_"$OV_BUILD"/ &&     rm -rf "/tmp/openvino_installer"/"$OV_FOLDER" &&     ln --symbolic /opt/intel/openvino_"$OV_BUILD"/ /opt/intel/openvino &&     ln --symbolic /opt/intel/openvino_"$OV_BUILD"/ /opt/intel/openvino_"$OV_YEAR" &&     rm -rf "/opt/intel/openvino/tools/workbench" && rm -rf "/tmp/openvino_installer" &&     chown -R openvino /opt/intel/openvino_"$OV_BUILD":
0.570 + tar -xzf '/tmp/openvino_installer/*.tgz'
0.571 tar (child): /tmp/openvino_installer/*.tgz: Cannot open: No such file or directory
0.571 tar (child): Error is not recoverable: exiting now
0.571 tar: Child returned status 2
0.571 tar: Error is not recoverable: exiting now
------
openvino_cg_dev_2023.0.0.dockerfile:34
--------------------
  33 |
  34 | >>> RUN tar -xzf "${TEMP_DIR}"/*.tgz && \
  35 | >>>     OV_BUILD="$(find . -maxdepth 1 -type d -name "*openvino*" | grep -oP '(?<=_)\d+.\d+.\d.\d+')" && \
  36 | >>>     OV_YEAR="$(echo "$OV_BUILD" | grep -oP '^[^\d]*(\d+)')" && \
  37 | >>>     OV_FOLDER="$(find . -maxdepth 1 -type d -name "*openvino*")" && \
  38 | >>>     mkdir -p /opt/intel/openvino_"$OV_BUILD"/ && \
  39 | >>>     cp -rf "$OV_FOLDER"/*  /opt/intel/openvino_"$OV_BUILD"/ && \
  40 | >>>     rm -rf "${TEMP_DIR:?}"/"$OV_FOLDER" && \
  41 | >>>     ln --symbolic /opt/intel/openvino_"$OV_BUILD"/ /opt/intel/openvino && \
  42 | >>>     ln --symbolic /opt/intel/openvino_"$OV_BUILD"/ /opt/intel/openvino_"$OV_YEAR" && \
  43 | >>>     rm -rf "${INTEL_OPENVINO_DIR}/tools/workbench" && rm -rf "${TEMP_DIR}" && \
  44 | >>>     chown -R openvino /opt/intel/openvino_"$OV_BUILD"
  45 |
--------------------
ERROR: failed to solve: process "/bin/bash -xo pipefail -c tar -xzf \"${TEMP_DIR}\"/*.tgz &&     OV_BUILD=\"$(find . -maxdepth 1 -type d -name \"*openvino*\" | grep -oP '(?<=_)\\d+.\\d+.\\d.\\d+')\" &&     OV_YEAR=\"$(echo \"$OV_BUILD\" | grep -oP '^[^\\d]*(\\d+)')\" &&     OV_FOLDER=\"$(find . -maxdepth 1 -type d -name \"*openvino*\")\" &&     mkdir -p /opt/intel/openvino_\"$OV_BUILD\"/ &&     cp -rf \"$OV_FOLDER\"/*  /opt/intel/openvino_\"$OV_BUILD\"/ &&     rm -rf \"${TEMP_DIR:?}\"/\"$OV_FOLDER\" &&     ln --symbolic /opt/intel/openvino_\"$OV_BUILD\"/ /opt/intel/openvino &&     ln --symbolic /opt/intel/openvino_\"$OV_BUILD\"/ /opt/intel/openvino_\"$OV_YEAR\" &&     rm -rf \"${INTEL_OPENVINO_DIR}/tools/workbench\" && rm -rf \"${TEMP_DIR}\" &&     chown -R openvino /opt/intel/openvino_\"$OV_BUILD\"" did not complete successfully: exit code: 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant