Docker image based on Ubuntu 24.04 (Noble Numbat) with Python 3.13, 3.12 and 2.7.18 pre-installed.
For the full list of supported tags, see:
Container image registry | amd64 | arm64 |
---|---|---|
Docker Hub | ✅ | ✅ |
Quay.io | ✅ | ✅ |
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
Using Docker Hub:
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 tox
displayName: Install dependencies
- script: |
tox
displayName: Run tests
Using Quay.io:
jobs:
- job: tox
pool:
vmImage: ubuntu-latest
container: quay.io/coatldev/six:latest
steps:
- script: |
sudo chown -R $(whoami):$(id -ng) "${PYTHON_ROOT}"
displayName: Change owner
- script: |
python -m pip install tox
displayName: Install dependencies
- script: |
tox
displayName: Run tests
Using Docker Hub:
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 tox
- name: Run tests
run: |
tox
Using Quay.io:
jobs:
tox:
runs-on: ubuntu-latest
container: quay.io/coatldev/six:latest
steps:
- name: Checkout repo
uses: actions/checkout@v4
- name: Install dependencies
run: |
python -m pip install tox
- name: Run tests
run: |
tox
Based on the Docker "Official Image" for python using the following
Dockerfile
s: