From 04c79984c0cac4dc3fa65d99e141a02202ac37bd Mon Sep 17 00:00:00 2001 From: Nikolai Rodionov Date: Fri, 24 Mar 2023 15:56:44 +0100 Subject: [PATCH] fix: Use nightly so Github actions won't exit with 137 --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index aeba9d7..1b26f80 100644 --- a/Dockerfile +++ b/Dockerfile @@ -3,7 +3,8 @@ WORKDIR /src RUN apt-get update &&\ apt-get install -y libssl-dev gcc musl pkg-config COPY ./ . -RUN cargo build --release +RUN rustup default nightly && rustup update +RUN cargo build --release --jobs 2 -Z sparse-registry FROM debian:stable