https://github.com/docker-hub-frolvlad/docker-alpine-python3
The smallest Docker image with Python 3.7 (~57MB)
https://github.com/docker-hub-frolvlad/docker-alpine-python3
alpine docker-image python
Last synced: 3 months ago
JSON representation
The smallest Docker image with Python 3.7 (~57MB)
- Host: GitHub
- URL: https://github.com/docker-hub-frolvlad/docker-alpine-python3
- Owner: Docker-Hub-frolvlad
- License: mit
- Created: 2015-04-06T11:56:52.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2024-03-14T01:37:15.000Z (over 1 year ago)
- Last Synced: 2025-03-30T19:08:39.915Z (3 months ago)
- Topics: alpine, docker-image, python
- Language: Dockerfile
- Homepage: https://hub.docker.com/r/frolvlad/alpine-python3/
- Size: 23.4 KB
- Stars: 225
- Watchers: 6
- Forks: 91
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://hub.docker.com/r/frolvlad/alpine-python3/)
[](https://hub.docker.com/r/frolvlad/alpine-python3/)Python 3.12 Docker image
========================This image is based on Alpine Linux image, which is only a 5MB image, and contains
[Python 3.x](https://www.python.org/).This image is only 71MB on disk.
Usage Example
-------------```bash
$ docker run --rm frolvlad/alpine-python3 python3 -c 'print("Hello World")'
```Once you have run this command you will get printed 'Hello World' from Python! Or use it interactivelly:
```bash
$ docker run -it --rm frolvlad/alpine-python3 python3
```NOTE: `pip`/`pip3` is also available in this image.