Dockerfile 621 B

123456789101112
  1. FROM ubuntu:21.04
  2. RUN \
  3. export DEBIAN_FRONTEND=noninteractive && \
  4. dpkg --add-architecture i386 && \
  5. apt-get update -qq && \
  6. apt-get install -y nodejs nasm gdb unzip p7zip-full openjdk-8-jre wget python python3 qemu-system-x86 git-core build-essential libc6-dev-i386-cross libc6-dev-i386 clang curl time && \
  7. curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y && \
  8. export PATH="$HOME/.cargo/bin:$PATH" && \
  9. rustup toolchain install stable && \
  10. rustup target add wasm32-unknown-unknown && \
  11. rustup component add rustfmt-preview