Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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: about 8 hours ago
JSON representation

The smallest Docker image with Python 3.7 (~57MB)

Awesome Lists containing this project

README

        

[![Docker Stars](https://img.shields.io/docker/stars/frolvlad/alpine-python3.svg?style=flat-square)](https://hub.docker.com/r/frolvlad/alpine-python3/)
[![Docker Pulls](https://img.shields.io/docker/pulls/frolvlad/alpine-python3.svg?style=flat-square)](https://hub.docker.com/r/frolvlad/alpine-python3/)

Python 3.11 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.