Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
move the go install command so that it's called by the build user instead of root. running go install with root would lead to some folders in /go/pkg/ being owned by root and not writable by the build user, which eventually leads to permission errors when building the profiler, specifically to download new dependencies. also put /go in a volume which is persisted between consecutive runs, meaning docker-compose restart will reuse the go cache / go dependencies speeding up builds for local development.
- Loading branch information