enhancement: add podman installation support and static files generating (#1565)

This commit is contained in:
majinghe
2026-01-20 20:53:59 +08:00
committed by GitHub
parent f59380ae17
commit 60d54af749
2 changed files with 16 additions and 0 deletions
+4
View File
@@ -83,6 +83,10 @@ RUN --mount=type=cache,target=/usr/local/cargo/registry \
# 3) copy full sources (this is the main cache invalidation point)
COPY . .
# Generate static files
RUN ./rustfs/scripts/static.sh
# Cargo build configuration for lean release artifacts
ENV CARGO_NET_GIT_FETCH_WITH_CLI=true \
CARGO_REGISTRIES_CRATES_IO_PROTOCOL=sparse \