This project aims to daily build docker images published on Docker Hub with the latest Python 3.x versions (3.6+).
Daily CI builds are pushed on Docker Hub
The CI github workflow runs update.py, which finds the latest Python 3.x versions (the latest patch for each minor), builds the relative image and publishes it under giacomofurlan/python-precompiled:v3.x.y.
The flow continues pushing all the images to docker hub.
The produced images have a default entrypoint (/entrypoint.sh
) which will copy the files in the given directory
PYTHON_VERSION="3.9.4" # See the image tags for a complete list
docker run --rm -ti \
--volume "$(pwd)/python":/opt/out
giacomofurlan/python-precompiled:v${PYTHON_VERSION} \
/opt/out
docker volume create python-3.9.4
docker run --rm -ti \
--volume python-3.9.4:/opt/out \
giacomofurlan/python-precompiled:v3.9.4 \
/opt/out
docker run --rm -ti \
--volume python-3.9.4:/opt/AppDir/usr
my_image \
my_command
docker volume rm python-3.9.4
FROM giacomofurlan/python-precompiled:v3.9.4
# Prepare an AppDir of an AppImage
RUN mkdir -p /opt/AppDir/usr \
&& /entrypoint.sh /opt/AppDir/usr
# Alternative
RUN mkdir -p /opt/AppDir/usr \
&& cp -r /opt/python/3.9.4/* /opt/AppDir/usr/
# Files are in /opt/python/{major}.{minor}.{patch}
# There are symlinks to it:
# - /opt/python/3.{minor}
# - /opt/python/3