aboutsummaryrefslogtreecommitdiff
path: root/weed/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'weed/Makefile')
-rw-r--r--weed/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/weed/Makefile b/weed/Makefile
index ac25d008b..38c0d9317 100644
--- a/weed/Makefile
+++ b/weed/Makefile
@@ -9,6 +9,9 @@ all: install
install:
go install -ldflags="-s -w"
+build_docker:
+ CGO_ENABLED=0 GOOS=linux go build -ldflags="-s -w"
+
clean:
go clean $(SOURCE_DIR)
rm -f $(BINARY)