Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shinnida220/5260fe95519d90cfb2bde47cacb56f02 to your computer and use it in GitHub Desktop.
Save shinnida220/5260fe95519d90cfb2bde47cacb56f02 to your computer and use it in GitHub Desktop.
How to install Hadolint on Linux | Ubuntu
# 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