Commit 4a95248b authored by Aljaž Srebrnič's avatar Aljaž Srebrnič

Fix CI image generation, make build verbose

Apparently, `cargo` doesn't notice that the main.rs file changed with
the COPY.
parent ba9f6cc1
Pipeline #557 passed with stages
in 18 minutes and 6 seconds
......@@ -17,7 +17,8 @@ RUN RUSTFLAGS=-Clinker=musl-gcc cargo build --release --target=x86_64-unknown-li
COPY src/ src/
RUN rm -f target/x86_64-unknown-linux-musl/release/deps/mittelab-status* \
&& RUSTFLAGS=-Clinker=musl-gcc cargo build --release --target=x86_64-unknown-linux-musl
&& touch src/main.rs \
&& RUSTFLAGS=-Clinker=musl-gcc cargo build --verbose --release --target=x86_64-unknown-linux-musl
# ------------------------------------------------------------------------------
# Final Stage
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment