Git Product home page Git Product logo

docker-python's Introduction

Docker images with Python

Introduction

This repository contains Docker images with different versions of Python installed. All are based on the consul-template-base image, which comes with Consul Template and other tools like runit installed.

Consul Template

Consul Template runs as a separate service managed by runit.

With Consul Template 0.16, Configuration for it must be stored in the /etc/consul-template.conf file. See its documentation for setup details. Consul Template is turned on by default. If you don't need to use Consul Template, that service needs to be removed explicitly in the Dockerfile that you are writing.

With Consul Template 0.18, you must create your own runit service and use the run-consul-template script to render a template and execute a child process. See an example in the MusicBrainz server.

Usage

To use these images simply specify FROM metabrainz/python:<TAG> at the beginning of your Dockerfile. <TAG> is a version of Python that you need to use, followed with the creation date of the image; If an image is updated more than once in a day, then extra tags will also include the sequence number. See the [list of image tags available on Docker Hub|https://hub.docker.com/r/metabrainz/python/tags/].

Building and deploying images

Use push.sh script. The way it operates is detailed in its heading comments.

Available images

We have these images available:

image version python version consul-template version ubuntu version
2.7, 2.7-20220421 2.7.18 0.27.1 focal
3.8-20201201 3.8.6 0.16 bionic
3.8, 3.8-20210115 3.8.6 0.18 bionic
3.9, 3.9-20220315 3.9.10 0.18 bionic
3.9-focal, 3.9-focal-20220315 3.9.10 0.27.1 focal
3.10, 3.10-20220315 3.10.2 0.27.1 focal
3.11, 3.11-20221221 3.11.1 0.27.1 focal
3.11-20231006 3.11.6 0.33.0 jammy

docker-python's People

Contributors

alastair avatar amcap1712 avatar ferbncode avatar gentlecat avatar mwiencek avatar paramsingh avatar yvanzo avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.