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

Error when building docker image #6

Open
ertygiq opened this issue Oct 17, 2024 · 1 comment
Open

Error when building docker image #6

ertygiq opened this issue Oct 17, 2024 · 1 comment

Comments

@ertygiq
Copy link

ertygiq commented Oct 17, 2024

Hi,

I've just tried to build the docker image and got the following error:

6.684 ERROR: Could not find a version that satisfies the requirement matplotlib==3.9.0 (from -r /usr/src/gcpwn/requirements.txt (line 78)) (from versions: 0.86, 0.86.1, 0.86.2, 0.91.0, 0.91.1, 1.0.1, 1.1.0, 1.1.1, 1.2.0, 1.2.1, 1.3.0, 1.3.1, 1.4.0, 1.4.1rc1, 1.4.1, 1.4.2, 1.4.3, 1.5.0, 1.5.1, 1.5.2, 1.5.3, 2.0.0b1, 2.0.0b2, 2.0.0b3, 2.0.0b4, 2.0.0rc1, 2.0.0rc2, 2.0.0, 2.0.1, 2.0.2, 2.1.0rc1, 2.1.0, 2.1.1, 2.1.2, 2.2.0rc1, 2.2.0, 2.2.2, 2.2.3, 2.2.4, 2.2.5, 3.0.0rc2, 3.0.0, 3.0.1, 3.0.2, 3.0.3, 3.1.0rc1, 3.1.0rc2, 3.1.0, 3.1.1, 3.1.2, 3.1.3, 3.2.0rc1, 3.2.0rc3, 3.2.0, 3.2.1, 3.2.2, 3.3.0rc1, 3.3.0, 3.3.1, 3.3.2, 3.3.3, 3.3.4, 3.4.0rc1, 3.4.0rc2, 3.4.0rc3, 3.4.0, 3.4.1, 3.4.2, 3.4.3, 3.5.0b1, 3.5.0rc1, 3.5.0, 3.5.1, 3.5.2, 3.5.3, 3.6.0rc1, 3.6.0rc2, 3.6.0, 3.6.1, 3.6.2, 3.6.3, 3.7.0rc1, 3.7.0, 3.7.1, 3.7.2, 3.7.3, 3.7.4, 3.7.5)
6.719 ERROR: No matching distribution found for matplotlib==3.9.0 (from -r /usr/src/gcpwn/requirements.txt (line 78))
------
Dockerfile:15
--------------------
  13 |     COPY . ./
  14 |     RUN python3 -m venv venv
  15 | >>> RUN  ./venv/bin/pip install -r /usr/src/gcpwn/requirements.txt
  16 |     
  17 |     ENTRYPOINT ["/bin/bash","-c","source /usr/src/gcpwn/venv/bin/activate && exec /bin/bash"]
--------------------
ERROR: failed to solve: process "/bin/sh -c ./venv/bin/pip install -r /usr/src/gcpwn/requirements.txt" did not complete successfully: exit code: 1
@ertygiq
Copy link
Author

ertygiq commented Oct 17, 2024

Oh, I figured out that this was because my ubuntu:latest image was outdated and I had to update it first.
So, I'd suggest that you use a specific ubuntu version in the Dockerfile. Alternatively, add the docker pull ubuntu:latest command in the wiki in the installation section.

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