From 4a1bb894263b01bf0311e26c3a996fdfd443a570 Mon Sep 17 00:00:00 2001 From: softprops Date: Sun, 25 Aug 2019 18:46:21 -0400 Subject: [PATCH] separate build from strip (debugging) --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 88dfad7..abb3a64 100644 --- a/Dockerfile +++ b/Dockerfile @@ -18,8 +18,8 @@ RUN rustup target add x86_64-unknown-linux-musl # RUN cargo build --target x86_64-unknown-linux-musl --release # COPY src src COPY . . -RUN cargo build --target x86_64-unknown-linux-musl --release \ - && strip /app/target/x86_64-unknown-linux-musl/release/action-gh-release +RUN cargo build --target x86_64-unknown-linux-musl --release +RUN strip /app/target/x86_64-unknown-linux-musl/release/action-gh-release FROM scratch