build seaweedfs from vendored source

This commit is contained in:
Joachim Schlöffel
2026-09-26 16:26:27 +02:00
parent a2da4acc53
commit 13a2d0dd16
7 changed files with 71 additions and 43 deletions
+9 -4
View File
@@ -1,13 +1,18 @@
# SeaweedFS Alpine Package
Repackages official SeaweedFS 4.47 Linux release tarballs for `x86_64` and
`aarch64`.
Builds SeaweedFS 4.47 from its upstream source release for `x86_64` and
`aarch64`. The package intentionally builds the upstream baseline feature set,
without optional build tags. Versioned Go and Cargo vendor archives make the
build fully offline after source retrieval.
## Package Commands
Refresh generated sources:
When updating SeaweedFS, refresh the vendor archives before generating the
config scaffolds and checksums:
```sh
PACKAGE_DIR=packaging/alpine/local/seaweedfs \
packaging/alpine/local/seaweedfs/scripts/update-vendor-sources.sh
ALPINE_PACKAGE=seaweedfs mise run apk:update-generated
ALPINE_PACKAGE=seaweedfs mise run apk:checksum
```
@@ -140,5 +145,5 @@ rc-service seaweedfs.master restart
Pin:
```sh
apk add seaweedfs=4.47-r2
apk add seaweedfs=4.47-r3
```