Created
November 10, 2017 16:28
-
-
Save pepyakin/bd681deba6e86f918a389a2db0f73f75 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM trzeci/emscripten:sdk-incoming-64bit | |
ENV RUSTUP_HOME=/usr/local/rustup \ | |
CARGO_HOME=/usr/local/cargo \ | |
PATH=/usr/local/cargo/bin:$PATH | |
RUN set -eux; \ | |
url="https://static.rust-lang.org/rustup/archive/1.6.0/x86_64-unknown-linux-gnu/rustup-init"; \ | |
wget "$url"; \ | |
chmod +x rustup-init; \ | |
./rustup-init -y --no-modify-path --default-toolchain nightly; \ | |
rm rustup-init; \ | |
chmod -R a+w $RUSTUP_HOME $CARGO_HOME; \ | |
rustup --version; \ | |
cargo --version; \ | |
rustc --version; | |
RUN cargo install --git https://github.com/paritytech/wasm-utils wasm-build |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment