Created
July 19, 2022 10:34
-
-
Save shinnida220/5260fe95519d90cfb2bde47cacb56f02 to your computer and use it in GitHub Desktop.
How to install Hadolint on Linux | Ubuntu
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Reference from here[https://github.com/hadolint/hadolint/] and here[https://stackoverflow.com/a/62370018/380138] | |
1. Use wget download the linux release that matches your setup and it directly directly in the bin folder like in the below | |
`wget -O /bin/hadolint https://github.com/hadolint/hadolint/releases/download/v2.10.0/hadolint-Linux-x86_64` | |
This will download the content of the link and saveit as hadolint in the bin directory | |
2. Setup permission to make the downloaded file executable bu running | |
`chmod +x /bin/hadolint` |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment