fix: build for unspecified Linux (not specifically Alpine)

This commit is contained in:
2026-04-15 13:04:29 -04:00
parent f31d06bdf9
commit 509278c6eb

View File

@@ -50,7 +50,7 @@ RUN \
--mount=type=cache,target=/usr/local/cargo/git/db \
--mount=type=cache,target=/usr/local/cargo/registry/ \
cd /root/app && \
RUSTFLAGS="-C target-feature=+crt-static" cargo build --release && \
cargo build --target x86_64-unknown-linux-musl --release && \
cp target/release/fomo-reducer /root/program
FROM scratch AS runner