Strip binary after compiling
This commit is contained in:
parent
662aa5ab69
commit
62fd02057a
@ -15,6 +15,8 @@ COPY ./src ./src
|
||||
# build source code
|
||||
RUN cargo build --release
|
||||
|
||||
RUN strip ./target/x86_64-unknown-linux-musl/release/gitache
|
||||
|
||||
|
||||
# create /etc/password for rootless scratch container
|
||||
FROM alpine:latest as user_builder
|
||||
|
Loading…
Reference in New Issue
Block a user