Sign inSign up

hdcore/docker-pylint

By hdcore

Updated 5 months ago

Python image with pylint for use in CI

Image
Developer tools
0

581

hdcore/docker-pylint repository overview

HDCore - docker-pylint

Introduction

This is a small container image that contains a python3 environment with pylint3. This container is very usefull for automatic testing during CI.

Image usage

  • Run pylint:
docker run --rm -v /path/to/python/code:/code hdcore/docker-pylint:<version> pylint <arguments>
  • Run shell:
docker run -it --rm -v /path/to/python/code:/code hdcore/docker-pylint:<version> /bin/sh
  • Use in .gitlab-ci.yml:
image: hdcore/docker-pylint:<version>
script: pylint <arguments>

Available tags

  • hdcore/docker-pylint:3

Container Registries

The image is stored on multiple container registries at dockerhub and gitlab:

  • Docker Hub:
    • hdcore/docker-pylint
    • registry.hub.docker.com/hdcore/docker-pylint
  • Gitlab:
    • registry.gitlab.com/hdcore-docker/docker-pylint

Building image

Build:

docker build -f .\3\Dockerfile -t docker-pylint:3 .

Tag summary

Content type

Image

Digest

sha256:834eb934c

Size

22.8 MB

Last updated

5 months ago

docker pull hdcore/docker-pylint:3