FROM rust:buster RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y RUN rustup target add aarch64-apple-darwin RUN rustup target add aarch64-apple-ios RUN rustup target add aarch64-apple-ios-sim RUN rustup target add aarch64-linux-android RUN rustup target add aarch64-pc-windows-msvc RUN rustup target add aarch64-unknown-fuchsia RUN rustup target add aarch64-unknown-linux-gnu RUN rustup target add aarch64-unknown-linux-musl RUN rustup target add aarch64-unknown-none RUN rustup target add aarch64-unknown-none-softfloat RUN rustup target add aarch64-unknown-uefi RUN rustup target add arm-linux-androideabi RUN rustup target add arm-unknown-linux-gnueabi RUN rustup target add arm-unknown-linux-gnueabihf RUN rustup target add arm-unknown-linux-musleabi RUN rustup target add arm-unknown-linux-musleabihf RUN rustup target add armebv7r-none-eabi RUN rustup target add armebv7r-none-eabihf RUN rustup target add armv5te-unknown-linux-gnueabi RUN rustup target add armv5te-unknown-linux-musleabi RUN rustup target add armv7-linux-androideabi RUN rustup target add armv7-unknown-linux-gnueabi RUN rustup target add armv7-unknown-linux-gnueabihf RUN rustup target add armv7-unknown-linux-musleabi RUN rustup target add armv7-unknown-linux-musleabihf RUN rustup target add armv7a-none-eabi RUN rustup target add armv7r-none-eabi RUN rustup target add armv7r-none-eabihf RUN rustup target add asmjs-unknown-emscripten RUN rustup target add i586-pc-windows-msvc RUN rustup target add i586-unknown-linux-gnu RUN rustup target add i586-unknown-linux-musl RUN rustup target add i686-linux-android RUN rustup target add i686-pc-windows-gnu RUN rustup target add i686-pc-windows-msvc RUN rustup target add i686-unknown-freebsd RUN rustup target add i686-unknown-linux-gnu RUN rustup target add i686-unknown-linux-musl RUN rustup target add i686-unknown-uefi RUN rustup target add loongarch64-unknown-linux-gnu RUN rustup target add mips-unknown-linux-musl RUN rustup target add mips64-unknown-linux-muslabi64 RUN rustup target add mips64el-unknown-linux-muslabi64 RUN rustup target add mipsel-unknown-linux-musl RUN rustup target add nvptx64-nvidia-cuda RUN rustup target add powerpc-unknown-linux-gnu RUN rustup target add powerpc64-unknown-linux-gnu RUN rustup target add powerpc64le-unknown-linux-gnu RUN rustup target add riscv32i-unknown-none-elf RUN rustup target add riscv32imac-unknown-none-elf RUN rustup target add riscv32imc-unknown-none-elf RUN rustup target add riscv64gc-unknown-linux-gnu RUN rustup target add riscv64gc-unknown-none-elf RUN rustup target add riscv64imac-unknown-none-elf RUN rustup target add s390x-unknown-linux-gnu RUN rustup target add sparc64-unknown-linux-gnu RUN rustup target add sparcv9-sun-solaris RUN rustup target add thumbv6m-none-eabi RUN rustup target add thumbv7em-none-eabi RUN rustup target add thumbv7em-none-eabihf RUN rustup target add thumbv7m-none-eabi RUN rustup target add thumbv7neon-linux-androideabi RUN rustup target add thumbv7neon-unknown-linux-gnueabihf RUN rustup target add thumbv8m.base-none-eabi RUN rustup target add thumbv8m.main-none-eabi RUN rustup target add thumbv8m.main-none-eabihf RUN rustup target add wasm32-unknown-emscripten RUN rustup target add wasm32-unknown-unknown RUN rustup target add wasm32-wasi RUN rustup target add wasm32-wasi-preview1-threads RUN rustup target add x86_64-apple-darwin RUN rustup target add x86_64-apple-ios RUN rustup target add x86_64-fortanix-unknown-sgx RUN rustup target add x86_64-linux-android RUN rustup target add x86_64-pc-solaris RUN rustup target add x86_64-pc-windows-gnu RUN rustup target add x86_64-pc-windows-msvc RUN rustup target add x86_64-sun-solaris RUN rustup target add x86_64-unknown-freebsd RUN rustup target add x86_64-unknown-fuchsia RUN rustup target add x86_64-unknown-illumos RUN rustup target add x86_64-unknown-linux-gnu RUN rustup target add x86_64-unknown-linux-gnux32 RUN rustup target add x86_64-unknown-linux-musl RUN rustup target add x86_64-unknown-netbsd RUN rustup target add x86_64-unknown-none RUN rustup target add x86_64-unknown-redox RUN rustup target add x86_64-unknown-uefi ENV CROSS_CONTAINER_IN_CONTAINER=true RUN cargo install cross