https://github.com/ndunnett/python
Docker image based on the official Ubuntu image with Python compiled from source.
https://github.com/ndunnett/python
docker pyperformance python ubuntu
Last synced: 8 months ago
JSON representation
Docker image based on the official Ubuntu image with Python compiled from source.
- Host: GitHub
- URL: https://github.com/ndunnett/python
- Owner: ndunnett
- License: mit
- Created: 2024-02-12T07:09:56.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2025-04-13T08:07:45.000Z (8 months ago)
- Last Synced: 2025-04-15T01:14:54.893Z (8 months ago)
- Topics: docker, pyperformance, python, ubuntu
- Language: Dockerfile
- Homepage:
- Size: 89.8 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# ndunnett/python
Docker image based on the official Ubuntu image with Python compiled from source. The purpose of this image is to be a more performant, lower footprint alternative to the official Python image. Python is downloaded, compiled, and installed in one layer to reduce the image size before being pushed to the [Docker Hub repository](https://hub.docker.com/r/ndunnett/python).
## Tag convention
The tag convention is as follows:
```{Ubuntu}-{Python}```
- `Ubuntu` - this is the code name for the Ubuntu release
- `Python` - this is the version of Python compiled
The `latest` tag is aliased to the image built with the newest available stable release for both Ubuntu and Python.
## Performance
See [BENCHMARK.md](/BENCHMARK.md) for performance comparison to the official Python image.
## TODO:
- Support for `arm64v8` and `arm32v7`
- Reduce vulnerabilities highlighted by Docker Scout (if possible)
- Optimise image size
- Add more base images (Debian, Alpine)
- Add image size comparison to benchmarks
- Add benchmarks between Python versions
- Add benchmarks between base images
- Revisit compiling with `clang`