- Notifications
You must be signed in to change notification settings - Fork2
abebus/free-threaded-python-docker-image
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
This is a minimal clone of the official Python Docker image withfree-threading enabled (--disable-gil
).
Use standalone builds like the ones from Astral:
https://github.com/astral-sh/python-build-standalone/
Example usage:
https://github.com/DNALinux/OmicsContainers/blob/main/Python/3.13.1-no_GIL/Dockerfile
Note: I am lazy and don’t keep up with updates
Literally just one thing:
In the CPython build step, I've added this flag:
–disable-gil
Everything else is the same as the official image.
Free-threading (aka “no-GIL”) is experimental in Python 3.13+. If you want to try running Python with GIL disabled in a container, this image gives you a head start.
If you don’t trust random images from the internet (you shouldn’t), you can build it yourself:
- Start from the official Python Dockerfile (e.g.,https://github.com/docker-library/python)
- Add
--disable-gil
to the./configure
step during CPython build - Done.
docker pull ghcr.io/abebus/free-threaded-python-docker-image:main
This is experimental. Things may break. Performance may vary. Use at your own risk.
Built on top of:https://github.com/docker-library/python
About
Yes, free threaded aka nogil python 3.13.0 release docker image.
Topics
Resources
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Releases
Packages0
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.