Sign inSign up

iamjohnnym/bionic-python

By iamjohnnym

•Updated almost 8 years ago

*Bionic-Python* is a multi-stage Docker image for `Ubuntu 18.04 (Bionic Beaver)` and python alpine.

Image
1

2.4K

iamjohnnym/bionic-python repository overview

Build Status

⁠Bionic-Python

forthebadge forthebadge

Bionic-Python is a multi-stage Docker image that packages Ubuntu 18.04 (Bionic Beaver) and some form of Python['2.7','3.4','3.5','3.6','3.7'] together. On a successful build step, TravisCI will push the images to DockerHub with the appropriate tags.

Ideally, the base should always remain the same no matter the version of Python running. As such, no special steps are required to gain compatability between versions.

⁠Table of contents

⁠Getting Started

To get started with your own. Simply fork this repo, add the repo to your Travis⁠ account, update the secure secrets via TravisCLI⁠, and push your changes to your master branch.

⁠Features

This project makes use of the following services:

  • Git
  • TravisCI
  • DockerHub
  • Docker

⁠Usage

(Back to top)⁠

Current valid tags:

  • iamjohnnym/bionic-python:latest
    • latest is ==3.7
  • iamjohnnym/bionic-python:2.7
  • iamjohnnym/bionic-python:3.4
  • iamjohnnym/bionic-python:3.5
  • iamjohnnym/bionic-python:3.6
  • iamjohnnym/bionic-python:3.7

⁠Build Locally

If you would like to build the image locally, you can do so with the following steps.

git clone https://github.com/iamjohnnym/bionic-python.git
cd bionic-python
PY_VERSION=3.7
docker build --build-arg PYTHON_VERSION=${TEST_SUITE} \
             --build-arg BUILD_DATE=$(date -u +"%Y-%m-%dT%H:%M:%SZ") \
             --build-arg VCS_REF=$(git rev-parse --short HEAD) \
             --build-arg VERSION=$(cat VERSION) \
             -t iamjohnnym/bionic-python:${TEST_SUITE} .

⁠From DockerHub

PY_VERSION=3.7
docker pull iamjohnnym/bionic-python:${PY_VERSION}

⁠Authors

(Back to top)⁠

See also the list of contributors⁠ who participated in this project.

⁠Contributing

(Back to top)⁠

Your contributions are always welcome! Please have a look at the contribution guidelines⁠ first.

⁠License

(Back to top)⁠

Apache License, Version 2.0 2018 - Johnny Martin⁠. Please have a look at the LICENSE.md⁠ for more details.

⁠Versioning

(Back to top)⁠

We use SemVer⁠ for versioning. For the versions available, see the tags on this repository⁠.

Tag summary

Content type

Image

Digest

Size

55 MB

Last updated

almost 8 years ago

docker pull iamjohnnym/bionic-python