Portable Python (with pip but not 3rd-party Python packages) in Docker using python-build-standalone for building standalone Python. Please refer to the Section Usage of the post My Docker Images for ...
Python is compiled from source in an Alpine Linux container. A small kinda-static launcher dynamically loads libpython at runtime, enabling full dynamic extension support while maintaining portability ...