Install rls in .gitpod.Dockerfile

This commit is contained in:
Noah authored and GitHub committed 2020-02-04 16:47:48 -06:00
1 parent 7c4f6263bd
commit 2c655c9794
1 file changed
+5 -4
+5 -4
View File
@@ -3,10 +3,11 @@ FROM gitpod/workspace-full
USER gitpod
# Update Rust to the latest version
RUN rm -rf ~/.rustup && ~/.cargo/bin/rustup update stable
# Set up wasm-pack and wasm32-unknown-unknown for rustpython_wasm
RUN export PATH=$HOME/.cargo/bin:$PATH && \
RUN rm -rf ~/.rustup && \
export PATH=$HOME/.cargo/bin:$PATH && \
rustup update stable && \
rustup component add rls && \
# Set up wasm-pack and wasm32-unknown-unknown for rustpython_wasm
curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh && \
rustup target add wasm32-unknown-unknown