https://github.com/ye/docker-hadolint
Dockerized pre-built hadolint with minimum footprint
https://github.com/ye/docker-hadolint
Last synced: 3 months ago
JSON representation
Dockerized pre-built hadolint with minimum footprint
- Host: GitHub
- URL: https://github.com/ye/docker-hadolint
- Owner: ye
- License: mit
- Created: 2016-08-24T17:54:12.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2016-08-24T18:33:46.000Z (almost 10 years ago)
- Last Synced: 2025-10-10T16:12:54.885Z (8 months ago)
- Size: 1000 Bytes
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# docker-hadolint
Dockerized pre-built hadolint with minimum footprint
## Build
```bash
$ docker build -t hadolint:1.2.1 .
$ docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
hadolint 1.2.1 b266285044cc 2 hours ago 157.6 MB
$ docker run --entrypoint hadolint hadolint:1.2.1 -v
Haskell Dockerfile Linter v1.2.1
```
## Usage
```bash
docker run --rm -i hadolint:1.2.1 < Dockerfile
/dev/stdin:5 DL3008 Pin versions in apt get install. Instead of `apt-get install ` use `apt-get install =`
/dev/stdin:10 DL3020 Use COPY instead of ADD for files and folders
```