fix: force static linking
This commit is contained in:
@@ -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 && \
|
||||
cargo build --release && \
|
||||
RUSTFLAGS="-C target-feature=+crt-static" cargo build --release && \
|
||||
cp target/release/fomo-reducer /root/program
|
||||
|
||||
FROM scratch AS runner
|
||||
|
||||
Reference in New Issue
Block a user