Skip to content

Commit

Permalink
static link
Browse files Browse the repository at this point in the history
  • Loading branch information
ngtuna committed Dec 11, 2017
1 parent d569171 commit b105671
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ before_deploy:
EXE_NAME=kubeapps-$GOOS-$GOARCH.exe
fi
- cp kubeapps $EXE_NAME
- strip $EXE_NAME && ./$EXE_NAME version
- strip $EXE_NAME
- >
size $EXE_NAME || :
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ GO_ARCH = GOARCH="${GOARCH}"
BINARY = kubeapps
GO_PACKAGES = $(IMPORT_PATH)/cmd $(IMPORT_PATH)/pkg/...
GO_FILES := $(shell find $(shell $(GOBIN) list -f '{{.Dir}}' $(GO_PACKAGES)) -name \*.go)
GO_FLAGS = -ldflags="-w -X github.com/kubeapps/kubeapps/cmd.VERSION=${VERSION}"
GO_FLAGS = -ldflags='-extldflags "-static" -w -X github.com/kubeapps/kubeapps/cmd.VERSION=${VERSION}'
GO_LDFLAGS =
EMBEDDED_STATIC = generated/statik/statik.go
CC_ = CC="${CC}"
Expand Down

0 comments on commit b105671

Please sign in to comment.