From 25b527ec3fc1b70f0c2d9b2f490867ac2dc1c24d Mon Sep 17 00:00:00 2001 From: Vivek Date: Tue, 1 Oct 2024 22:22:28 -0700 Subject: [PATCH] update cargo command Co-authored-by: Pim --- Dockerfile.ubuntu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile.ubuntu b/Dockerfile.ubuntu index 83cb446..f357dba 100644 --- a/Dockerfile.ubuntu +++ b/Dockerfile.ubuntu @@ -12,7 +12,7 @@ WORKDIR /redlib # download (most) dependencies in their own layer COPY Cargo.lock Cargo.toml ./ RUN mkdir src && echo "fn main() { panic!(\"why am i running?\") }" > src/main.rs -RUN cargo build --release --locked --bin redlib +RUN cargo build --release --locked RUN rm ./src/main.rs && rmdir ./src # copy the source and build the redlib binary