Skip to content

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

License

Notifications You must be signed in to change notification settings

coatl-dev/docker-six

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.0b1 - Comes with Python 3.13.0b1 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: