Added ARM hard float target (Raspberry Pi)

This commit is contained in:
Adrian Calinescu 2018-03-25 15:03:53 +03:00 committed by GitHub
parent 96002c7986
commit ee64b7113e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -50,7 +50,8 @@ ENV PATH=/home/rust/.cargo/bin:/usr/local/musl/bin:/usr/local/sbin:/usr/local/bi
# manually.
RUN curl https://sh.rustup.rs -sSf | \
sh -s -- -y --default-toolchain $TOOLCHAIN && \
rustup target add x86_64-unknown-linux-musl
rustup target add x86_64-unknown-linux-musl && \
rustup target add armv7-unknown-linux-gnueabihf
ADD cargo-config.toml /home/rust/.cargo/config
# Set up a `git credentials` helper for using GH_USER and GH_TOKEN to access