Skip to content

Commit d55fcf9

Browse files
authored
set -trimpath on the build (okteto#1050)
Signed-off-by: Ramiro Berrelleza <[email protected]>
1 parent a778726 commit d55fcf9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ endif
44

55
BINDIR := $(CURDIR)/bin
66
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"
7+
BUILDCOMMAND := go build -trimpath -ldflags "-s -w -X github.com/okteto/okteto/pkg/config.VersionString=${VERSION_STRING}" -tags "osusergo netgo static_build"
88
temp = $(subst /, ,$@)
99
os = $(word 1, $(temp))
1010
arch = $(word 2, $(temp))

0 commit comments

Comments
 (0)