2018-10-01 23:51:28 +02:00
|
|
|
FROM ubuntu:latest
|
2018-01-30 23:22:57 +01:00
|
|
|
|
|
|
|
RUN \
|
|
|
|
dpkg --add-architecture i386 && \
|
|
|
|
apt-get update -qq && \
|
2018-10-09 21:23:41 +02:00
|
|
|
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 && \
|
2018-02-21 06:53:45 +01:00
|
|
|
wget https://nodejs.org/dist/v8.9.4/node-v8.9.4-linux-x64.tar.xz && \
|
2018-02-25 18:05:50 +01:00
|
|
|
tar xfv node-v8.9.4-linux-x64.tar.xz && \
|
2018-06-19 23:01:03 +02:00
|
|
|
rm node-v8.9.4-linux-x64.tar.xz && \
|
|
|
|
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 && \
|
2018-10-01 23:51:28 +02:00
|
|
|
rustup component add rustfmt-preview --toolchain nightly && \
|
|
|
|
apt-get clean && \
|
|
|
|
apt-get autoclean && \
|
|
|
|
apt-get autoremove && \
|
|
|
|
rm -rf /var/lib/apt/lists/*
|