Skip to content

Commit

Permalink
Fix cross compile issue
Browse files Browse the repository at this point in the history
  • Loading branch information
tor-oscar committed Jan 5, 2019
1 parent aef6eca commit d7e3cbf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ RUN mkdir -p .cargo
ADD docker/cargo.config .cargo/config
ADD src ./src

RUN cargo build --target=armv7-unknown-linux-gnueabihf --release
RUN CC=arm-linux-gnueabihf-gcc-6 cargo build --target=armv7-unknown-linux-gnueabihf --release

FROM arm32v7/debian:stable-slim

Expand Down

0 comments on commit d7e3cbf

Please sign in to comment.