openvinotoolkit / docker_ci

The framework to generate a Dockerfile, build, test, and deploy a docker image with OpenVINO™ toolkit.
Apache License 2.0
58 stars 63 forks source link

Adding ffmpeg into the Ubuntu 22 container #292

Closed js333031 closed 10 months ago

js333031 commented 10 months ago

I've tried adding ffmpeg pkg into the container but the build fails.

python3 docker_openvino.py build --file "dockerfiles/ubuntu22/openvino_cg_dev_2023.0.0.dockerfile" -os ubuntu22 -dist dev -p 2023.0.0

I tried following line at multiple places in dockerfiles/ubuntu22/openvino_cg_dev_2023.0.0.dockerfile:

RUN apt-get update && apt-get install -y ffmpeg

Error during build:

[2023-10-27 08:17:57] INFO      Building Docker image...
[2023-10-27 08:17:57] INFO      Build log location: /mnt/Lexar/docker_ci/logs/ubuntu22_dev_2023.0.0.1092/image_build.log
[2023-10-27 08:17:58] ERROR     The command '/bin/bash -xo pipefail -c apt-get update && apt-get install -y ffmpeg' returned a non-zero code: 100
[2023-10-27 08:17:58] INFO      Build time: 0 minutes 1 second
[2023-10-27 08:17:58] ERROR     Error building Docker image ['ubuntu22_dev:2023.0.0.1092', 'ubuntu22_dev:latest']
          | Traceback (most recent call last):
          |   File "/mnt/Lexar/docker_ci/docker_openvino.py", line 406, in <module>
          |     launcher.build()
          |   File "/mnt/Lexar/docker_ci/docker_openvino.py", line 181, in build
          |     raise FailedBuildError(f'Error building Docker image {self.args.tags}')
          | utils.exceptions.FailedBuildError: Error building Docker image ['ubuntu22_dev:2023.0.0.1092', 'ubuntu22_dev:latest']
[2023-10-27 08:17:58] INFO      ===============================================================================