Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/coatl-dev/docker-six
🐳 Docker image with Python 3.13, 3.12 and 2.7.18 pre-installed.
https://github.com/coatl-dev/docker-six
azure-pipelines ci-cd docker docker-image dockerfile github-actions python python2 python3
Last synced: 2 days ago
JSON representation
🐳 Docker image with Python 3.13, 3.12 and 2.7.18 pre-installed.
- Host: GitHub
- URL: https://github.com/coatl-dev/docker-six
- Owner: coatl-dev
- License: unlicense
- Created: 2023-06-02T00:50:28.000Z (over 1 year ago)
- Default Branch: coatl
- Last Pushed: 2025-01-13T20:09:37.000Z (8 days ago)
- Last Synced: 2025-01-13T21:22:12.760Z (8 days ago)
- Topics: azure-pipelines, ci-cd, docker, docker-image, dockerfile, github-actions, python, python2, python3
- Language: Dockerfile
- Homepage:
- Size: 234 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# coatldev/six
[![pre-commit.ci status](https://results.pre-commit.ci/badge/github/coatl-dev/docker-six/coatl.svg "pre-commit.ci status")](https://results.pre-commit.ci/latest/github/coatl-dev/docker-six/coatl)
[![Docker Repository on Docker Hub](https://img.shields.io/badge/hub.docker.com-white?logo=docker "Docker Repository on Docker Hub")](https://hub.docker.com/r/coatldev/six)
[![Docker Repository on Quay](https://img.shields.io/badge/quay.io-red?logo=red-hat "Docker Repository on Quay")](https://quay.io/repository/coatldev/six)Docker image based on Ubuntu 24.04 (Noble Numbat) with Python 3.13.1, 3.12.8
and 2.7.18 pre-installed.## Supported tags
- [`3.13`, `3.13.1`, `latest`]
For the full list of supported tags, see:
- [Docker Hub tags]
- [Quay.io tags]## Supported platforms
|Container image registry|amd64|arm64|
|------------------------|-----|-----|
|[Docker Hub] | ✅ | ✅ |
|[Quay.io] | ✅ | ✅ |## 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:### Azure Pipelines
```yml
jobs:
- job: toxpool:
vmImage: ubuntu-latestcontainer: coatldev/six:latest # or 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
```### GitHub Actions workflow
```yml
jobs:
tox:runs-on: ubuntu-latest
container: coatldev/six:latest # or 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
```## Source of inspiration
Based on the [Docker "Official Image"] for [python] using the following
`Dockerfile`s:- [2.7/buster/slim]
- [3.12/slim-bullseye]
- [3.13/slim-bullseye][`3.13`, `3.13.1`, `latest`]: https://github.com/coatl-dev/docker-six/blob/coatl/Dockerfile
[Azure Pipelines]: https://learn.microsoft.com/en-us/azure/devops/pipelines/yaml-schema/jobs-job-container?view=azure-pipelines
[GitHub Workflows]: https://docs.github.com/en/actions/using-jobs/running-jobs-in-a-container
[Docker Hub]: https://hub.docker.com/r/coatldev/six
[Docker Hub tags]: https://hub.docker.com/r/coatldev/six/tags
[Docker "Official Image"]: https://github.com/docker-library/official-images#what-are-official-images
[python]: https://hub.docker.com/_/python/
[Quay.io]: https://quay.io/repository/coatldev/six
[Quay.io tags]: https://quay.io/repository/coatldev/six?tab=tags[2.7/buster/slim]: https://github.com/docker-library/python/blob/f1e613f48eb4fc88748b36787f5ed74c14914636/2.7/buster/slim/Dockerfile
[3.12/slim-bullseye]: https://github.com/docker-library/python/blob/HEAD/3.12/slim-bullseye/Dockerfile
[3.13/slim-bullseye]: https://github.com/docker-library/python/blob/HEAD/3.13/slim-bullseye/Dockerfile