coatl-dev / docker-six

Docker image with Python 2.7.18, 3.8+ and Jython 2.7.3 pre-installed.

Home Page:https://hub.docker.com/r/coatldev/six

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

coatldev/six

pre-commit.ci status Docker Pulls

Docker image based on Ubuntu 24.04 (Noble Numbat) with Python 2.7.18, Python 3 and Jython pre-installed.

Supported tags

Python

Python Alpha, Beta and Release Candidates

  • 3.13.0b2 - Comes with Python 3.13.0b2 and 2.7.18.

Jython

Jython Alpha, Beta and Release Candidates

For more tags, click here.

How to use this image

The examples below will demonstrate how to use this image in Azure Pipelines, and GitHub Workflows.

Note

pip caching is disabled by default. See: actions/runner#652

Azure Pipelines

jobs:
  - job: tox

    pool:
      vmImage: ubuntu-latest

    container: coatldev/six:latest

    steps:
      - script: |
          sudo chown -R $(whoami):$(id -ng) "${PYTHON_ROOT}"
        displayName: Change owner

      - script: |
          python -m pip install --upgrade pip tox
        displayName: Install dependencies

      - script: |
          tox
        displayName: Run tests

GitHub Workflows

jobs:
  tox:

    runs-on: ubuntu-latest

    container: coatldev/six:latest

    steps:
      - name: Checkout repo
        uses: actions/checkout@v4

      - name: Install dependencies
        run: |
          python -m pip install --upgrade pip tox

      - name: Run tests
        run: |
          tox

Source of inspiration

Based on the Docker "Official Image" for python using the following Dockerfiles:

About

Docker image with Python 2.7.18, 3.8+ and Jython 2.7.3 pre-installed.

https://hub.docker.com/r/coatldev/six

License:The Unlicense


Languages

Language:Dockerfile 90.3%Language:Jinja 8.1%Language:Python 1.7%