Skip to content

Commit b72c40f

Browse files
committed
Strip the binary
1 parent 0c09c27 commit b72c40f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Dockerfile

+1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ WORKDIR /app
77
COPY ./ /app
88
# do a release build
99
RUN cargo build --release
10+
RUN strip target/release/mini-docker-rust
1011

1112
# use a plain alpine image, the alpine version needs to match the builder
1213
FROM alpine:3.11

0 commit comments

Comments
 (0)