Skip to content

Commit 84f26ae

Browse files
committed
Add gitpod configuration
1 parent 52c5eec commit 84f26ae

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

.gitpod.Dockerfile

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
FROM gitpod/workspace-full
2+
3+
USER gitpod
4+
5+
# Update Rust to the latest version
6+
RUN rm -rf ~/.rustup && ~/.cargo/bin/rustup update stable
7+
8+
# Set up wasm-pack and wasm32-unknown-unknown for rustpython_wasm
9+
RUN export PATH=$HOME/.cargo/bin:$PATH && \
10+
curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh && \
11+
rustup target add wasm32-unknown-unknown
12+
13+
USER root

.gitpod.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
image:
2+
file: .gitpod.Dockerfile

0 commit comments

Comments
 (0)