Skip to content

Commit

Permalink
Merge pull request #744 from tomdee/smaller-binaries
Browse files Browse the repository at this point in the history
Makefile: Smaller flanneld binary
  • Loading branch information
tomdee authored Jun 14, 2017
2 parents 2bdd4c2 + 5356ef0 commit dec0c1f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,12 @@ endif
GOARM=7

# List images with gcloud alpha container images list-tags gcr.io/google_containers/kube-cross
KUBE_CROSS_TAG=v1.7.5-3
KUBE_CROSS_TAG=v1.8.3-1
IPTABLES_VERSION=1.4.21

dist/flanneld: $(shell find . -type f -name '*.go')
go build -o dist/flanneld \
-ldflags "-X github.com/coreos/flannel/version.Version=$(TAG)"
-ldflags "-s -w -X github.com/coreos/flannel/version.Version=$(TAG)"

test: license-check gofmt
go test -cover $(TEST_PACKAGES_EXPANDED)
Expand Down

0 comments on commit dec0c1f

Please sign in to comment.