Sign inSign up

hdcore/docker-yamllint

By hdcore

•Updated about 1 year ago

Simple yamllint image for use in CI

Image
Developer tools
0

1.8K

hdcore/docker-yamllint repository overview

⁠HDCore - docker-pylint

⁠Introduction

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

⁠Image usage

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

⁠Available tags

  • hdcore/docker-yamllint:1

⁠Container Registries

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

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

⁠Building image

Build:

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

Tag summary

Content type

Image

Digest

sha256:d3185e5a4…

Size

22.4 MB

Last updated

about 1 year ago

docker pull hdcore/docker-yamllint:1