2021-03-22 01:22:51 +01:00
|
|
|
FROM ubuntu:20.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-03-22 01:22:51 +01:00
|
|
|
apt-get dist-upgrade -y
|
|
|
|
RUN \
|
|
|
|
export DEBIAN_FRONTEND=noninteractive && \
|
|
|
|
apt-get install -y 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
|
|
|
|
RUN \
|
|
|
|
NODEVSN=v14.16.0 && \
|
|
|
|
wget https://nodejs.org/dist/$NODEVSN/node-$NODEVSN-linux-x64.tar.xz && \
|
|
|
|
tar xfv node-$NODEVSN-linux-x64.tar.xz && \
|
|
|
|
rm node-$NODEVSN-linux-x64.tar.xz && \
|
|
|
|
echo 'export PATH="$PATH:/node-$NODEVSN-linux-x64/bin"' >> ~/.bashrc && \
|
2018-06-19 23:01:03 +02:00
|
|
|
wget https://sh.rustup.rs -O rustup.sh && \
|
2018-06-26 15:06:45 +02:00
|
|
|
sh ./rustup.sh -y && \
|
2018-06-19 23:01:03 +02:00
|
|
|
rm ./rustup.sh && \
|
2018-06-26 15:06:45 +02:00
|
|
|
export PATH="$HOME/.cargo/bin:$PATH" && \
|
2018-06-19 23:01:03 +02:00
|
|
|
rustup toolchain install nightly && \
|
2018-08-08 23:04:19 +02:00
|
|
|
rustup default nightly && \
|
2018-06-29 20:46:21 +02:00
|
|
|
rustup target add wasm32-unknown-unknown --toolchain nightly && \
|
2021-03-22 01:22:51 +01:00
|
|
|
rustup component add rustfmt-preview --toolchain nightly
|