reviewdog / action-golangci-lint

Run golangci-lint with reviewdog

Home Page:https://github.com/marketplace?type=actions&query=reviewdog

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

exec user process caused

drewwells opened this issue · comments

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.

commented

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