Skip to content

Instantly share code, notes, and snippets.

@wvdschel
Last active October 3, 2018 11:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wvdschel/abb9a419b09f200abb2fffc75d4df4fd to your computer and use it in GitHub Desktop.
Save wvdschel/abb9a419b09f200abb2fffc75d4df4fd to your computer and use it in GitHub Desktop.
Rustup/wasm32 dockerfile
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