Skip to content

docker build report error #108

@hitzhangjie

Description

@hitzhangjie
$ docker build -t git-sim .
[+] Building 226.8s (9/10)                                                                                                                                         docker:default
 => [internal] load build definition from Dockerfile                                                                                                                         0.0s
 => => transferring dockerfile: 255B                                                                                                                                         0.0s
 => [internal] load metadata for docker.io/library/python:3                                                                                                                 50.6s
 => [auth] library/python:pull token for registry-1.docker.io                                                                                                                0.0s
 => [internal] load .dockerignore                                                                                                                                            0.0s
 => => transferring context: 2B                                                                                                                                              0.0s
 => [1/6] FROM docker.io/library/python:3@sha256:934873f1360893d07afe0d25b99af46640e916a5900f1677fb86e41f73920253                                                           37.5s
 => => resolve docker.io/library/python:3@sha256:934873f1360893d07afe0d25b99af46640e916a5900f1677fb86e41f73920253                                                            0.0s
 => => sha256:934873f1360893d07afe0d25b99af46640e916a5900f1677fb86e41f73920253 10.95kB / 10.95kB                                                                             0.0s
 => => sha256:e396456a47e83b4786e3303c14e1a19ebf3929ec633134ff837493a89301ebea 6.38kB / 6.38kB                                                                               0.0s
 => => sha256:795dbedde24d2c72dafd2b71fe36643552e56859c0e29cdb095ed54b825fbaa2 49.28MB / 49.28MB                                                                            13.4s
 => => sha256:89d573bf42b377ce6a5a0451c15388849686fa4058efd68999f3b014daeb5b55 25.62MB / 25.62MB                                                                            24.5s
 => => sha256:0cb593dd6b3a67de3166f978b87cd8981942a12000a21b29d5385334e4b99384 2.32kB / 2.32kB                                                                               0.0s
 => => sha256:26dfe2fac1c486e9aaf41d1028ed30be2c442aa84af44462bc7bac8c148ffb13 67.78MB / 67.78MB                                                                            14.1s
 => => sha256:79d5bd8a8d262418bf22e705535ce38c6789dc72e319d76b30aafa5c331b6924 235.93MB / 235.93MB                                                                          32.1s
 => => extracting sha256:795dbedde24d2c72dafd2b71fe36643552e56859c0e29cdb095ed54b825fbaa2                                                                                    1.3s
 => => sha256:31ecb0fa272dab2687d1e1423ffa4a44463d14bd76ddacea180c9dcdf7817b7b 6.09MB / 6.09MB                                                                              25.5s
 => => extracting sha256:89d573bf42b377ce6a5a0451c15388849686fa4058efd68999f3b014daeb5b55                                                                                    0.5s
 => => sha256:444728a573587a84f12124af83e21c91c9d9258124d8a6d63c9c1888efc119a7 29.23MB / 29.23MB                                                                            36.6s
 => => extracting sha256:26dfe2fac1c486e9aaf41d1028ed30be2c442aa84af44462bc7bac8c148ffb13                                                                                    2.0s
 => => sha256:6287f334c0e7561c0eb63587c59927ba24855a3e29a23bd5b32d5842af55cd68 249B / 249B                                                                                  36.5s
 => => extracting sha256:79d5bd8a8d262418bf22e705535ce38c6789dc72e319d76b30aafa5c331b6924                                                                                    4.1s
 => => extracting sha256:31ecb0fa272dab2687d1e1423ffa4a44463d14bd76ddacea180c9dcdf7817b7b                                                                                    0.2s
 => => extracting sha256:444728a573587a84f12124af83e21c91c9d9258124d8a6d63c9c1888efc119a7                                                                                    0.5s
 => => extracting sha256:6287f334c0e7561c0eb63587c59927ba24855a3e29a23bd5b32d5842af55cd68                                                                                    0.0s
 => [2/6] WORKDIR /usr/src/git-sim                                                                                                                                           0.6s
 => [3/6] RUN apt update                                                                                                                                                     3.9s
 => [4/6] RUN apt -y install build-essential python3-dev libcairo2-dev libpango1.0-dev ffmpeg                                                                              126.6s
 => ERROR [5/6] RUN pip3 install manim                                                                                                                                       7.4s
------
 > [5/6] RUN pip3 install manim:
1.906 Collecting manim
2.310   Downloading manim-0.19.0-py3-none-any.whl.metadata (11 kB)
2.728 Collecting Pillow>=9.1 (from manim)
2.794   Downloading pillow-12.0.0-cp314-cp314-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.metadata (8.8 kB)
2.959 Collecting Pygments>=2.0.0 (from manim)
3.025   Downloading pygments-2.19.2-py3-none-any.whl.metadata (2.5 kB)
3.278 Collecting audioop-lts>=0.2.0 (from manim)
3.344   Downloading audioop_lts-0.2.2-cp313-abi3-manylinux1_x86_64.manylinux_2_28_x86_64.manylinux_2_5_x86_64.whl.metadata (2.0 kB)
3.455 Collecting av<14.0.0,>=9.0.0 (from manim)
3.521   Downloading av-13.1.0.tar.gz (4.0 MB)
3.990      ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 4.0/4.0 MB 14.7 MB/s  0:00:00
4.104   Installing build dependencies: started
6.388   Installing build dependencies: finished with status 'done'
6.389   Getting requirements to build wheel: started
6.885   Getting requirements to build wheel: finished with status 'error'
6.888   error: subprocess-exited-with-error
6.888
6.888   × Getting requirements to build wheel did not run successfully.
6.888   │ exit code: 1
6.888   ╰─> [11 lines of output]
6.888       Package libavformat was not found in the pkg-config search path.
6.888       Perhaps you should add the directory containing `libavformat.pc'
6.888       to the PKG_CONFIG_PATH environment variable
6.888       Package 'libavformat', required by 'virtual:world', not found
6.888       Package 'libavcodec', required by 'virtual:world', not found
6.888       Package 'libavdevice', required by 'virtual:world', not found
6.888       Package 'libavutil', required by 'virtual:world', not found
6.888       Package 'libavfilter', required by 'virtual:world', not found
6.888       Package 'libswscale', required by 'virtual:world', not found
6.888       Package 'libswresample', required by 'virtual:world', not found
6.888       pkg-config could not find libraries ['avformat', 'avcodec', 'avdevice', 'avutil', 'avfilter', 'swscale', 'swresample']
6.888       [end of output]
6.888
6.888   note: This error originates from a subprocess, and is likely not a problem with pip.
7.315
7.315 [notice] A new release of pip is available: 25.2 -> 25.3
7.315 [notice] To update, run: pip install --upgrade pip
7.316 error: subprocess-exited-with-error
7.316
7.316 × Getting requirements to build wheel did not run successfully.
7.316 │ exit code: 1
7.316 ╰─> See above for output.
7.316
7.316 note: This error originates from a subprocess, and is likely not a problem with pip.
------
Dockerfile:9
--------------------
   7 |     RUN apt -y install build-essential python3-dev libcairo2-dev libpango1.0-dev ffmpeg
   8 |
   9 | >>> RUN pip3 install manim
  10 |
  11 |     RUN pip3 install git-sim
--------------------
ERROR: failed to solve: process "/bin/sh -c pip3 install manim" did not complete successfully: exit code: 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions