Skip to content

Commit 1dc5a0a

Browse files
committed
Dockerfile: fix cff93b1 by additionally stripping the output binary
1 parent cff93b1 commit 1dc5a0a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ RUN rustup target add arm-unknown-linux-gnueabihf
88
WORKDIR /usr/src/app
99
RUN git clone https://github.com/manio/aa-proxy-rs .
1010
RUN cargo build --release
11+
RUN arm-linux-gnueabihf-strip target/arm-unknown-linux-gnueabihf/release/aa-proxy-rs
1112
# Pi Zero W needs special linking/building (https://github.com/manio/aa-proxy-rs/issues/3)
1213
RUN git clone --depth=1 https://github.com/raspberrypi/tools
1314
RUN CARGO_TARGET_DIR=pi0w CARGO_TARGET_ARM_UNKNOWN_LINUX_GNUEABIHF_LINKER="./tools/arm-bcm2708/arm-rpi-4.9.3-linux-gnueabihf/bin/arm-linux-gnueabihf-gcc" cargo build --release

0 commit comments

Comments
 (0)