Skip to content

Commit

Permalink
chore(docker): strip the binaries in Docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
orhun committed Apr 24, 2022
1 parent e6fb20d commit aca4ccf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ COPY --from=cacher /app/target target
COPY --from=cacher $CARGO_HOME $CARGO_HOME
RUN cargo build --release --locked --no-default-features
RUN rm -f target/release/deps/git_cliff*
RUN strip target/release/git-cliff

FROM debian:buster-slim as runner
WORKDIR app
Expand Down

0 comments on commit aca4ccf

Please sign in to comment.