We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a778726 commit d55fcf9Copy full SHA for d55fcf9
Makefile
@@ -4,7 +4,7 @@ endif
4
5
BINDIR := $(CURDIR)/bin
6
PLATFORMS := linux/amd64/okteto-Linux-x86_64 darwin/amd64/okteto-Darwin-x86_64 windows/amd64/okteto.exe linux/arm64/okteto-Linux-arm64
7
-BUILDCOMMAND := go build -ldflags "-s -w -X github.com/okteto/okteto/pkg/config.VersionString=${VERSION_STRING}" -tags "osusergo netgo static_build"
+BUILDCOMMAND := go build -trimpath -ldflags "-s -w -X github.com/okteto/okteto/pkg/config.VersionString=${VERSION_STRING}" -tags "osusergo netgo static_build"
8
temp = $(subst /, ,$@)
9
os = $(word 1, $(temp))
10
arch = $(word 2, $(temp))
0 commit comments