v86/tools/docker/test-image/Dockerfile

22 lines
955 B
Docker
Raw Normal View History

FROM ubuntu:latest
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 && \
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 && \
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 && \
rm ./rustup.sh && \
2018-06-26 15:06:45 +02:00
export PATH="$HOME/.cargo/bin:$PATH" && \
rustup toolchain install nightly && \
rustup default nightly && \
2018-06-29 20:46:21 +02:00
rustup target add wasm32-unknown-unknown --toolchain nightly && \
rustup component add rustfmt-preview --toolchain nightly && \
apt-get clean && \
apt-get autoclean && \
apt-get autoremove && \
rm -rf /var/lib/apt/lists/*