Python image with ruff, pytest, pylint, flake8 and yamllint for use in CI
915
This is a small container image that contains a python3 environment with some python tools. This container is very usefull for automatic testing during CI.
docker run --rm -v /path/to/python/code:/code hdcore/docker-python:<version> ruff <arguments>
docker run --rm -v /path/to/python/code:/code hdcore/docker-python:<version> pytest <arguments>
docker run --rm -v /path/to/python/code:/code hdcore/docker-python:<version> pylint <arguments>
docker run --rm -v /path/to/python/code:/code hdcore/docker-python:<version> yammlint <arguments>
docker run --rm -v /path/to/python/code:/code hdcore/docker-python:<version> check-jsonschema <arguments>
docker run -it --rm -v /path/to/python/code:/code hdcore/docker-python:<version> /bin/sh
image: hdcore/docker-python:<version>
script: <script> <arguments>
The image is stored on multiple container registries at dockerhub and gitlab:
Content type
Image
Digest
sha256:a12e349cb…
Size
39.3 MB
Last updated
3 months ago
docker pull hdcore/docker-python:1