Sign inSign up

frankhjung/python

By frankhjung

Updated 3 months ago

Debian based image for building python 3 applications

Image
Developer tools
0

10K+

frankhjung/python repository overview

docker-python

Debian based image for building documents using Python. This includes GNU make.

The latest Docker image can be found on Docker Hub, here.

Build

The latest build uses Python 3.7.3. The Git tag is v1.0.1.

docker build --compress --rm --tag frankhjung/python:latest --tag frankhjung/python:3.7.3 --label=v1.0.1 .

Push

docker login
docker push frankhjung/python:3.7.3

Run

docker run frankhjung/python:latest

Latest version:

$ docker run frankhjung/python:latest
Python 3.7.3

Method

The way I build and maintain my Docker images is as follows:

  • Create a repository on GitHub, https://github.com/frankhjung/docker-python
  • Build, and test the Docker image locally
  • Create a Docker repository
  • Add automated build to Docker repository and link to GitHub repository.
  • Once happy with Docker image, commit, tag and push to remote. Where the Git tag is the same as the Docker label.
  • This will trigger a Docker Hub build.
  • Once build is successful, then
    • locally log into Docker Hub
    • you can push you image label and tag to Docker Hub.

Tag summary

Content type

Image

Digest

sha256:cff1fe60a

Size

484.8 MB

Last updated

3 months ago

docker pull frankhjung/python