-
Notifications
You must be signed in to change notification settings - Fork 158
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CompileDaemon not found #45
Comments
@dapobelieve in what context? Is that an error from the binary or the os when trying to run it? Please paste the command you were trying to run |
From my docker container @terev |
@dapobelieve you specified the entrypoint as CompileDaemon which overrides the default entrypoint which is usually a shell with PATH set. if you changed your entrypoint to
it should work. it would also work in the syntax you originally used as long as the full binary path is there |
Ok I'll try that |
Still doesn't work. How are other users able to use it? I just don't get it at all |
@dapobelieve go get installs into GOPATH . whatever GOPATH is in your base image is where it'll be installed. it could be a different dir than /go/bin |
@dapobelieve what base image are you using in your FROM ? |
Thanks @terev finally set it up properly had to do alot of reading |
@dapobelieve np . glad you got it working eventually |
Y como lo resolviste? |
@feuangel your entrypoint needs to reference the absolute path to the executable. Or if the base image you're building off of has a shell as the entrypoint and GOPATH/bin is in PATH you should be able to specify |
hi @dapobelieve, I encounter the same issue, could you share your solution, thanks |
@PhuSanh there is no general solution to this as it depends on your Dockerfile. Can you share it? |
@githubnemo how do I find what is the gopath for my base image? |
In my case I getting error on golang:1.18.2-alpine3.15 image Downgrade to golang:1.16.0-alpine3.13 works for me Try it |
Rather than downgrading (we're on 1.18), switching the installation method to |
This worked for me |
Worked for me also. Thanks man! |
Worked. Thank you |
I get the error "CompileDaemon: not found" and I don't understand why I'm getting such error
The text was updated successfully, but these errors were encountered: