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>
This commit is contained in:
Krzysztof Osiniak
2025-11-29 20:36:22 +01:00
committed by GitHub
parent d48e1e1659
commit 5461f85240
2 changed files with 5 additions and 0 deletions

View File

@@ -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)