aboutsummaryrefslogtreecommitdiff
path: root/weed
diff options
context:
space:
mode:
authorKrzysztof Osiniak <krzysztofosiniak37@gmail.com>2025-11-29 20:36:22 +0100
committerGitHub <noreply@github.com>2025-11-29 11:36:22 -0800
commit5461f85240c486a4f0e88ca016143e7392d2e552 (patch)
tree4deb533a9729f55dd1567b384a686dc8e3ca87fd /weed
parentd48e1e16598fea8f774301a66024af3d5928124e (diff)
downloadseaweedfs-5461f85240c486a4f0e88ca016143e7392d2e552.tar.xz
seaweedfs-5461f85240c486a4f0e88ca016143e7392d2e552.zip
Update README and weed/Makefile (#7571)
* Add link to wiki installation page in README * Add building for docker in weed/Makefile Building without `CGO_ENABLED=0` and using the executable in docker can result in a docker container exiting with an error * Update README.md Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> * Add GOOS=linux to build_docker target for cross-compilation --------- Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> Co-authored-by: Chris Lu <chris.lu@gmail.com>
Diffstat (limited to 'weed')
-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)