Sign inSign up

hdcore/docker-flake8

By hdcore

Updated 8 months ago

Python image with pylint for use in CI

Image
Developer tools
0

618

hdcore/docker-flake8 repository overview

HDCore - docker-flake8

Introduction

This is a small container image that contains a python3 environment with flake8 and pytest. 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-flake8:<version> flake8 <arguments>
  • Run shell:
docker run -it --rm -v /path/to/python/code:/code hdcore/docker-flake8:<version> /bin/sh
  • Use in .gitlab-ci.yml:
image: hdcore/docker-flake8:<version>
script: flake8 <arguments>

Available tags

  • hdcore/docker-flake8:7

Container Registries

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

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

Building image

Build:

docker build -f <version>/Dockerfile -t docker-flake8:<version> .

Tag summary

Content type

Image

Digest

sha256:e45fc694c

Size

27.5 MB

Last updated

8 months ago

docker pull hdcore/docker-flake8:7