Skip to content

Commit

Permalink
Restore Serai release due to CI/RPC failures caused by compiling it i…
Browse files Browse the repository at this point in the history
…n debug mode

This is *probably* worth an issue filed upstream, if it can be tracked down.
  • Loading branch information
kayabaNerve committed Nov 28, 2023
1 parent 00eaa2f commit 2b62168
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions orchestration/serai/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,8 @@ RUN --mount=type=cache,target=/root/.cargo \
--mount=type=cache,target=/usr/local/cargo/git \
--mount=type=cache,target=/serai/target \
mkdir /serai/bin && \
cargo build -p serai-node && \
mv /serai/target/debug/serai-node /serai/bin
cargo build --release -p serai-node && \
mv /serai/target/release/serai-node /serai/bin
FROM debian:bookworm-slim as image

COPY --from=mimalloc libmimalloc.so /usr/lib
Expand Down
4 changes: 2 additions & 2 deletions orchestration/serai/Dockerfile.serai
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
cargo build -p serai-node && \
mv /serai/target/debug/serai-node /serai/bin
cargo build --release -p serai-node && \
mv /serai/target/release/serai-node /serai/bin

0 comments on commit 2b62168

Please sign in to comment.