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: Don't upgrade pip anymore and --break-system-packages #2537

Open
wants to merge 1 commit into
base: dev
Choose a base branch
from

Conversation

peace-maker
Copy link
Member

The Docker images don't build anymore after switching to ubuntu 24.04 as a base image in #2529.
Pip doesn't have a RECORD file anymore and fails to uninstall / upgrade on latest Ubuntu now. pip --force-reinstall on pwntools causes pip to upgrade too since it's in our dependencies, which fails too. As a workaround uninstall pwntools manually before upgrading.

Should we switch to a venv in the docker file? It might become annoying when having to remember to activate it, but maybe we can add it to the PATH so new processes always use the venv too?

Pip doesn't have a RECORD file anymore and fails to uninstall / upgrade
on latest Ubuntu now. --force-reinstall on pwntools causes pip to
upgrade too since it's in our dependencies, which fails too.
As a workaround uninstall pwntools manually before upgrading.
@peace-maker peace-maker changed the title Don't upgrade pip anymore and --break-system-packages Docker: Don't upgrade pip anymore and --break-system-packages Jan 29, 2025
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

Successfully merging this pull request may close these issues.

1 participant