Skip to content

playpauseandstop/docker-python

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 

Repository files navigation

docker-python

Docker Cloud Build Status Docker Pulls

Add poetry, pre-commit, and other dev-tools to official Python slim stretch Docker image.

Usage

FROM playpauseandstop/docker-python

Included dev-tools

Python versions

By default, docker-python image uses latest stable Python version. But some other versions supported as well.

List of supported Python versions are (<PY_VERSION> -> base Docker image):

2.0.0

  • py35 -> python:3.5.7-slim-stretch
  • py36 -> python:3.6.9-slim-stretch
  • py37 -> python:3.7.5-slim-stretch

1.1.x & 1.2.x

  • py35 -> python:3.5.7-slim-stretch
  • py36 -> python:3.6.9-slim-stretch
  • py37 -> python:3.7.4-slim-stretch

1.0.3

  • py35 -> python:3.5.7-slim-stretch
  • py36 -> python:3.6.8-slim-stretch
  • py37 -> python:3.7.3-slim-stretch

To use custom Python version, use tags in your Dockerfile as:

FROM playpauseansdtop/docker-python:<VERSION>-<PY_VERSION>

For example, to use 1.0.3 version of docker-python with Python 3.6 base image:

FROM playpauseandstop/docker-python:1.0.3-py36

List of all available tags

Development

To build an image:

docker build -t playpauseandstop/docker-python .

To run something, using given image:

docker run --rm -it playpauseandstop/docker-python CMD

To push image (or specific version):

docker push playpauseandstop/docker-python:VERSION

About

Add poetry, pre-commit, and other dev tools for official Python slim bullseye Docker image.

Topics

Resources

License

Stars

Watchers

Forks

Contributors