Skip to content

Fixed dockerfile - #13

Open
Speedy0197 wants to merge 3 commits into
rsmuc:masterfrom
Speedy0197:master
Open

Fixed dockerfile#13
Speedy0197 wants to merge 3 commits into
rsmuc:masterfrom
Speedy0197:master

Conversation

@Speedy0197

Copy link
Copy Markdown

Hi,

looks like python added virtual environments with version 3.11, which breaks the pip installation of multiple things.
I just used the python 3.10 docker images and it seems to work.
An alternative would be run the pip install commands with the --break-system-packages flag, which also works.

Also i added a github action file which automatically builds the docker image and uploads it your package repository. (only when the master branch is updated, feel free to change this). This makes it a lot easier for someone who just wants to use your image.

Thanks for the cool project.

timgaleckas added a commit to timgaleckas/antispambox that referenced this pull request Jul 10, 2026
Fixes pip3 install failures on Debian trixie caused by PEP 668
externally-managed-environment enforcement, by switching the base
image to python:3.10-slim. Also adds a GitHub Actions workflow to
auto-build and publish the image to ghcr.io on push to master.
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