Skip to content

Commit

Permalink
Mount go mod cache
Browse files Browse the repository at this point in the history
To speed up things when the mod cache is required.
  • Loading branch information
markmandel committed Apr 18, 2019
1 parent 11ce1f6 commit 4dfa1ff
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion build/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,9 @@ mount_path = /go/src/$(agones_package)
common_mounts = -v $(build_path)/.config/gcloud:/root/.config/gcloud \
-v $(kubeconfig_path):/root/.kube \
-v $(helm_path):/root/.helm \
-v $(agones_path):$(mount_path)
-v $(agones_path):$(mount_path) \
-v $(build_path)/.gomod:/go/pkg/mod

# Its possible for this to change in the future, so it gets its own variable.
workdir_path = $(mount_path)

Expand Down

0 comments on commit 4dfa1ff

Please sign in to comment.