mirror of
https://github.com/veeso/termscp.git
synced 2025-12-07 09:36:00 -08:00
Strip executables when making release
This commit is contained in:
4
dist/build/x86_64_debian8/Dockerfile
vendored
4
dist/build/x86_64_debian8/Dockerfile
vendored
@@ -20,9 +20,9 @@ RUN git clone https://github.com/veeso/termscp.git
|
||||
# Set workdir to termscp
|
||||
WORKDIR /usr/src/termscp/
|
||||
# Install cargo deb
|
||||
RUN . $HOME/.cargo/env && cargo install cargo-deb
|
||||
RUN . $HOME/.cargo/env && cargo install cargo-deb cargo-strip
|
||||
# Build for x86_64
|
||||
RUN . $HOME/.cargo/env && cargo build --release
|
||||
RUN . $HOME/.cargo/env && cargo build --release && cargo strip
|
||||
# Build pkgs
|
||||
RUN . $HOME/.cargo/env && cargo deb
|
||||
|
||||
|
||||
Reference in New Issue
Block a user