diff --git a/Makefile b/Makefile
index 5ce0f0201c275c3d5e4f35d2701036649e3720c5..7b9f8e0a93ac68a62e09679cfb1527837baeb507 100644
--- a/Makefile
+++ b/Makefile
@@ -27,7 +27,7 @@ coverhtml:
 
 dep:
 	@go get -v -d ./...
-	@go get github.com/mitchellh/gox
+	@go install github.com/mitchellh/gox@latest
 
 build: dep
 	@gox -output="${CI_PROJECT_DIR}/${PROJECT_NAME}/{{.Dir}}_{{.OS}}_{{.Arch}}" -parallel=6 -osarch '!darwin/386'