Skip to content
Proyectos

CrafterKolyan/tiny-python-docker-image

Ver en GitHub

Acerca de

The most lightweight python docker image possible

Sistemas e infraestructura

Cómo se miden estas cifras

Crecimiento de estrellas medido

in 24h
0
in 7 days
0
in 15 days
0
in 1 month
Recopilando historial

Cambios netos en períodos que se solapan, no totales diarios. Los datos no disponibles se dejan en blanco. Las estrellas indican interés, no calidad.

README.md

Original

Tiny Python Docker image

The most lightweight Python 3 Docker image possible.

https://github.com/CrafterKolyan/tiny-python-docker-image/actions/workflows/update-repository.yml/badge.svg?branch=main

Possible variants

Dockerfile Description Size Version
Dockerfile.scratch-minimal Minimal Python image with almost no libraries from scratch 2.69 MB 3.14.10
Dockerfile.scratch-full Smallest Python image with default libraries from scratch 10.67 MB 3.14.10
Dockerfile.haizaar-minimal Stripped official Python image (haizaar/python-minimal) 14.69 MB 3.15.2
Dockerfile.python-alpine Python Alpine-based Official 19.68 MB 3.15.2
Dockerfile.alpine Alpine-based 20.21 MB 3.14.10
Dockerfile.python-slim Minimal packages needed to run python 44.3 MB 3.15.2
Dockerfile.ubuntu Ubuntu-based 57 MB 3.14.4
Dockerfile.python Python Debian-based Official with a lot of packages 419.2 MB 3.15.2

Requirements

  • Docker

Usage

Building image

docker build -t python-tiny . -f <Dockerfile name>

For example:

docker build -t python-tiny . -f Dockerfile.scratch-full

Running image

docker run --rm -it python-tiny

Technologies

  • Docker
  • ldd (prints the shared libraries required by each program or shared library specified on the command line): used to create scratch-full and scratch-minimal images.

Related links

Related projects

Explorar proyectos relacionados

Cargando…