Ready-to-copy linux-based python 3.6+ images.
4.0K
Home page of automated build: https://github.com/elegos/python-precompiled
Dockerfile list: link
This image should not be used alone. The main purpose is to compile a Python version, in order to be copied into another environment.
Example of usage might be to create AppImages that depend on Python
The default entrypoint will copy the compiled Python binaries in the specified directory.
docker run --rm --user "$(id -u):$(id -g)" --volume "$(pwd)/python":/opt/out giacomofurlan/python-precompiled:v{version} /opt/out
FROM giacomofurlan/python-precompiled:v3.9.4
...
# Pre-compiled binaries will be in /opt/python/{MAJOR}.{MINOR}.{PATCH}/,
# symlinked to /opt/python/{MAJOR}.{MINOR}/ and /opt/python/{MAJOR}/
RUN cp -r /opt/python/3.9.4/* /usr/
ENTRYPOINT [ "whatever" ]
Content type
Image
Digest
Size
328.3 MB
Last updated
almost 5 years ago
docker pull giacomofurlan/python-precompiled:v3.9