Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 1 day 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 (9 months ago)
- Default Branch: main
- Last Pushed: 2024-10-16T06:21:52.000Z (23 days ago)
- Last Synced: 2024-10-17T14:15:12.320Z (21 days ago)
- Topics: docker, pyperformance, python, ubuntu
- Language: Dockerfile
- Homepage:
- Size: 83 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 compiledThe `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`