Closed NextGenBit closed 1 year ago
The build failed.The error is attached below. It basically fails in the last command.
... Removing intermediate container 685aad75ede6 ---> a2c26f48e7cc Step 31/34 : WORKDIR /opt/petereport ---> Running in 2fda24b51b69 Removing intermediate container 2fda24b51b69 ---> c59606b872b8 Step 32/34 : RUN python -V ---> Running in 18f77eb7c522 Python 3.8.16 Removing intermediate container 18f77eb7c522 ---> dc2e0f895b8e Step 33/34 : COPY Pipfile ./ ---> 79eaacaa46ad Step 34/34 : RUN pipenv install --system --deploy --ignore-pipfile ---> Running in 806845a56f34 Pipfile.lock not found, creating… Locking [dev-packages] dependencies… Locking [packages] dependencies… self.repository.get_dependencies(ireq) File "/usr/lib/python3/dist-packages/pipenv/patched/piptools/repositories/pypi.py", line 174, in get_dependencies legacy_results = self.get_legacy_dependencies(ireq) File "/usr/lib/python3/dist-packages/pipenv/patched/piptools/repositories/pypi.py", line 222, in get_legacy_dependencies result = reqset._prepare_file(self.finder, ireq, ignore_requires_python=True) File "/usr/lib/python3/dist-packages/pipenv/patched/notpip/req/req_set.py", line 644, in _prepare_file abstract_dist.prep_for_dist() File "/usr/lib/python3/dist-packages/pipenv/patched/notpip/req/req_set.py", line 134, in prep_for_dist self.req_to_install.run_egg_info() File "/usr/lib/python3/dist-packages/pipenv/vendor/pip9/req/req_install.py", line 435, in run_egg_info call_subprocess( File "/usr/lib/python3/dist-packages/pipenv/vendor/pip9/utils/__init__.py", line 705, in call_subprocess raise InstallationError( pip9.exceptions.InstallationError: Command "python setup.py egg_info" failed with error code 1 in /tmp/tmpsg9oedevbuild/cairocffi/ The command '/bin/sh -c pipenv install --system --deploy --ignore-pipfile' returned a non-zero code: 1
I have closed the same issue with that problem. You can go to https://github.com/1modm/petereport/issues/68 and see my answer about that.
Fixed in the last commit:
git pull docker-compose up --build
The build failed.The error is attached below. It basically fails in the last command.