Closed StevenWeathers closed 5 years ago
I encountered this issue and found that if I ran go mod download
before attempting pkger
it would run successfully.
@requaos That solved the initial issue with Go 1.13, thanks!
Now I only get this error upon runtime, doesn't seem to affect my use case though since I'm using it to serve bundled static assets not ones from filesystem during runtime.
thunderdome_1 | 2019/11/11 01:03:02 exec: "go": executable file not found in $PATH:
In effort to try out Pkger in place of Packr (v1) I came across an issue trying to get Pkger to properly pack in a docker container with go 1.13. I was able to get it working with 1.12 in Docker however it seems to work fine outside docker with go 1.13. When running the app in docker with 1.12 it also logs an error message that doesn't log when running the app outside docker.
Errors I get building docker container
Error logged when running the app in docker container with go 1.12
You can find source code for my application at https://github.com/StevenWeathers/thunderdome-planning-poker