An open API service indexing awesome lists of open source software.

https://github.com/theyorkshiredev/dockerfile-linter

Image containing a Dockerfile linter
https://github.com/theyorkshiredev/dockerfile-linter

docker-image dockerfile-linter linter

Last synced: 9 days ago
JSON representation

Image containing a Dockerfile linter

Awesome Lists containing this project

README

          

# Containerised Dockerfile Linter

A containerised instance of [`replicatedhq/dockerfilelint`](https://github.com/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](https://gitlab.com/TheYorkshireDev/dockerfile-linter/badges/master/build.svg)](https://gitlab.com/TheYorkshireDev/dockerfile-linter/pipelines) [![GitHub tag](https://img.shields.io/github/tag/theyorkshiredev/dockerfile-linter.svg)](https://github.com/theyorkshiredev/dockerfile-linter/releases) [![license](https://img.shields.io/github/license/theyorkshiredev/dockerfile-linter.svg)](https://github.com/theyorkshiredev/dockerfile-linter/blob/master/LICENCE)

### Docker Image

[![Docker Build Status](https://img.shields.io/docker/build/theyorkshiredev/dockerfile-linter.svg)](https://hub.docker.com/r/theyorkshiredev/dockerfile-linter/) [![Docker Automated build](https://img.shields.io/docker/automated/theyorkshiredev/dockerfile-linter.svg)](https://hub.docker.com/r/theyorkshiredev/dockerfile-linter/) [![Docker Pulls](https://img.shields.io/docker/pulls/theyorkshiredev/dockerfile-linter.svg)](https://hub.docker.com/r/theyorkshiredev/dockerfile-linter/) [![Docker Stars](https://img.shields.io/docker/stars/theyorkshiredev/dockerfile-linter.svg)](https://hub.docker.com/r/theyorkshiredev/dockerfile-linter/)

## 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.

* [Development Repository](https://gitlab.com/TheYorkshireDev/dockerfile-linter)
* [Report Issues on GitLab](https://gitlab.com/TheYorkshireDev/dockerfile-linter/issues)
* [Repository CI & CD](https://gitlab.com/TheYorkshireDev/dockerfile-linter/pipelines)