Skip to content

Commit

Permalink
Add new dependencies to ARM cross build.
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonTeixidor committed Mar 14, 2018
1 parent 9311d86 commit e6fd5dd
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions arm-docker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
FROM dlecan/rust-crosscompiler-arm:stable

RUN apt-get update
RUN apt-get install -qq -y libasound2-dev:armhf pkg-config
RUN rustup override set nightly-arm-unknown-linux-gnueabihf
RUN apt-get install -qq -y libasound2-dev:armhf pkg-config libdbus-1-dev:armhf
RUN rustup default nightly
RUN rustup target add arm-unknown-linux-gnueabihf

VOLUME ["/source"]
WORKDIR /source

ENV PKG_CONFIG_ALLOW_CROSS=1 PKG_CONFIG_PATH=/usr/lib/arm-linux-gnueabihf/pkgconfig/
ENV OBJCOPY $CC_DIR/arm-linux-gnueabihf-objcopy

0 comments on commit e6fd5dd

Please sign in to comment.