TheYorkshireDev / dockerfile-linter

Image containing a Dockerfile linter

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Containerised Dockerfile Linter

A containerised instance of replicatedhq/dockerfilelint version 1.4.0, which is a Dockerfile linter. You can see it in action within this project's CI pipeline.

Usage

Simply run dockerfilelint Dockerfile in the same directory as your Dockerfile

In our pipeline the linter is used as shown below.

# Lint our Dockerfile
lint_dockerfile:
  image: theyorkshiredev/dockerfile-linter:latest
  stage: test
  script:
    - dockerfilelint Dockerfile

Build & Release Status

Build

Build Status GitHub tag license

Docker Image

Docker Build Status Docker Automated build Docker Pulls Docker Stars

Contribute

Please Note: The development of this project is done within a GitLab repository and uses the integrated GitLab CI. If you wish to contribute in anyway feel free to send pull requests and submit issues on GitLab. This GitHub repository is a mirror of the master branch within GitLab and is intended for users unfamiliar with GitLab.

About

Image containing a Dockerfile linter

License:MIT License