I'm trying to install hadolint to use with docker on a Ubuntu app for Windows with WSL.
Heres how I installed:
wget -O /bin/hadolint https://github.com/hadolint/hadolint/releases/download/v1.16.3/hadolint-Linux-x86_64
and when I ran (on a directory with an Dockerfile):
sudo make lint Dockerfile
and here's the error I'm getting:
# See local hadolint install instructions: https://github.com/hadolint/hadolint
# This is linter for Dockerfiles
hadolint Dockerfile
make: execvp: hadolint: Permission denied
Makefile:24: recipe for target 'lint' failed
make: *** [lint] Error 127enter code here
I new at Linux and I don't know if there's enough information to help me solve this.
Here's some link's I've looked up.
And none of them helped me to solve.