2021-07-08 01:31:40 +02:00
|
|
|
FROM ubuntu:21.04
|
2018-01-30 23:22:57 +01:00
|
|
|
|
|
|
|
RUN \
|
2021-03-22 01:22:51 +01:00
|
|
|
export DEBIAN_FRONTEND=noninteractive && \
|
2018-01-30 23:22:57 +01:00
|
|
|
dpkg --add-architecture i386 && \
|
|
|
|
apt-get update -qq && \
|
2021-07-08 01:31:40 +02:00
|
|
|
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 && \
|
|
|
|
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh -s -- -y && \
|
2018-06-26 15:06:45 +02:00
|
|
|
export PATH="$HOME/.cargo/bin:$PATH" && \
|
2021-07-08 01:31:40 +02:00
|
|
|
rustup toolchain install stable && \
|
|
|
|
rustup target add wasm32-unknown-unknown && \
|
|
|
|
rustup component add rustfmt-preview
|