diff --git a/weed/Makefile b/weed/Makefile index 0878edf90..38c0d9317 100644 --- a/weed/Makefile +++ b/weed/Makefile @@ -10,7 +10,7 @@ install: go install -ldflags="-s -w" build_docker: - CGO_ENABLED=0 go build -ldflags="-s -w" + CGO_ENABLED=0 GOOS=linux go build -ldflags="-s -w" clean: go clean $(SOURCE_DIR)