mirror of
https://gitlab.com/fabinfra/rust-builder.git
synced 2025-03-12 14:41:41 +01:00
9 lines
541 B
Docker
9 lines
541 B
Docker
|
FROM rust:latest
|
||
|
|
||
|
RUN dpkg --add-architecture arm64 && dpkg --add-architecture armhf
|
||
|
RUN apt-get update -yqq && apt-get install -yqq --no-install-recommends capnproto build-essential cmake clang libclang-dev jq libc6-arm64-cross libc6-dev-arm64-cross gcc-aarch64-linux-gnu libssl-dev:arm64 libc6-armhf-cross libc6-dev-armhf-cross gcc-arm-linux-gnueabihf libssl-dev:armhf
|
||
|
RUN rustup target add aarch64-unknown-linux-gnu
|
||
|
RUN rustup target add armv7-unknown-linux-gnueabihf
|
||
|
RUN rustup component add clippy rustfmt
|
||
|
RUN cargo install cargo2junit
|