-
Notifications
You must be signed in to change notification settings - Fork 459
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add new dependencies to ARM cross build.
- Loading branch information
1 parent
9311d86
commit e6fd5dd
Showing
1 changed file
with
4 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |