Merge pull request #156 from storytold/nov-20-mithoo

add --target=x86_64-unknown-linux-musl explicitly
This commit is contained in:
Kasisnu authored and GitHub committed 2023-11-20 15:27:56 +05:30
commit a7dcdf19ed
1 file changed
+3 -3
+3 -3
View File
@@ -99,19 +99,19 @@ RUN du -hsc * | sort -hr
RUN RUSTFLAGS="-C target-feature=+crt-static" SQLX_OFFLINE=true \
LD_LIBRARY_PATH=/usr/lib:${LD_LIBRARY_PATH} \
$HOME/.cargo/bin/cargo build \
--release \
--release --target=x86_64-unknown-linux-musl \
--bin dummy-service
RUN RUSTFLAGS="-C target-feature=+crt-static" SQLX_OFFLINE=true \
LD_LIBRARY_PATH=/usr/lib:${LD_LIBRARY_PATH} \
$HOME/.cargo/bin/cargo build \
--release \
--release --target=x86_64-unknown-linux-musl \
--bin download-job
RUN RUSTFLAGS="-C target-feature=+crt-static" SQLX_OFFLINE=true \
LD_LIBRARY_PATH=/usr/lib:${LD_LIBRARY_PATH} \
$HOME/.cargo/bin/cargo build \
--release \
--release --target=x86_64-unknown-linux-musl \
--bin inference-job
# Print a report on disk space