Fixing Docker build

This commit is contained in:
Erik St. Martin
2017-12-05 13:48:09 -06:00
parent 83d33f4aee
commit 1585999226
2 changed files with 2 additions and 2 deletions

View File

@@ -22,7 +22,7 @@ safebuild:
.PHONY: build
build: authors
@echo "Building..."
$Q go build -o bin/$(binary) $(if $V,-v) $(VERSION_FLAGS) $(IMPORT_PATH)
$Q CGO_ENABLED=0 go build -a -tags netgo -ldflags '-extldflags "-static"' -o bin/$(binary) $(if $V,-v) $(VERSION_FLAGS) $(IMPORT_PATH)
.PHONY: tags
tags: