# nightly rust
FROM rustlang/rust:nightly

WORKDIR /app

RUN apt update
RUN apt upgrade -y
RUN apt install -y qemu qemu-system-x86
RUN rustup target add x86_64-unknown-none
RUN rustup component add rust-src
RUN rustup component add llvm-tools-preview

CMD ["cargo", "test"]
