https://github.com/kornicameister/hadolint-shim
Provides `sh` compatible shim that wraps hadolint docker execution
https://github.com/kornicameister/hadolint-shim
hadolint linter shim
Last synced: 8 months ago
JSON representation
Provides `sh` compatible shim that wraps hadolint docker execution
- Host: GitHub
- URL: https://github.com/kornicameister/hadolint-shim
- Owner: kornicameister
- License: apache-2.0
- Created: 2020-05-07T08:08:34.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-05-13T17:20:52.000Z (over 5 years ago)
- Last Synced: 2025-01-12T15:22:58.695Z (9 months ago)
- Topics: hadolint, linter, shim
- Language: Shell
- Size: 22.5 KB
- Stars: 1
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# [hadolint](https://github.com/hadolint/hadolint)-shim  
Provides `bash` compatible shim that wraps hadolint's `docker run hadolint/hadolint` execution to ease up usage
on system where `hadolint` provides no static binaries.## Installation
### One liner
- regular user: ```curl -sSL https://git.io/JfcCJ | PREFIX=~/.local bash /dev/stdin```
- **root** user: ```curl -sSL https://git.io/JfcCJ | PREFIX=/usr/local sudo bash /dev/stdin```### Direct
`curl -sSL https://raw.githubusercontent.com/kornicameister/hadolint-shim/master/hadolint -o $HOME/.local/bin/hadolint ; chmod +x $HOME/.local/bin/hadolint ; bash -c 'hadolint --version'`
This is fastest installation method but be **warned** that it assumes that `$HOME/.local/.bin`:
- exists
- is added to `$PATH`## Usage
Exactly same as in [here](https://github.com/hadolint/hadolint#how-to-use)