reviewdog / action-golangci-lint

Run golangci-lint with reviewdog
https://github.com/marketplace?type=actions&query=reviewdog
MIT License
217 stars 43 forks source link

exec user process caused #70

Open drewwells opened 3 years ago

drewwells commented 3 years ago

I'm seeing this error for a dozen containers I tried.

docker run reviewdog/action-golangci-lint:v1.8
standard_init_linux.go:219: exec user process caused: no such file or directory

The error points to line endings from windows. Where is the dockerfile? I see a few branches, but it's not clear which one is being used to generate the docker images.

qodatecnologia commented 3 years ago

I solve this today! so do it:

  1. goes to your dockerfile file
  2. find the "entrypoint" file: terminated with .sh
  3. open git bash
  4. goes to directory where entrypoint.sh is located
  5. write: dos2unix yourfile.sh