Last active
October 3, 2018 11:20
-
-
Save wvdschel/abb9a419b09f200abb2fffc75d4df4fd to your computer and use it in GitHub Desktop.
Rustup/wasm32 dockerfile
This file contains 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 opensuse:tumbleweed | |
RUN zypper -n -q install bash tar curl clang llvm python git | |
ENV SHELL /bin/bash | |
RUN curl -sSf https://sh.rustup.rs | bash -s -- -y | |
RUN echo "export PATH=~/.cargo/bin:$PATH" >> ~/.bashrc | |
RUN source ~/.bashrc | |
RUN ~/.cargo/bin/rustup target add wasm32-unknown-unknown | |
RUN ~/.cargo/bin/rustup component add rls-preview rust-analysis rust-src | |
RUN ~/.cargo/bin/cargo install wasm-pack |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment