Skip to content
This repository has been archived by the owner on Sep 14, 2023. It is now read-only.

Commit

Permalink
feat: add zombienet and polkadot-parachain to devcontainer
Browse files Browse the repository at this point in the history
  • Loading branch information
kratico committed Dec 30, 2022
1 parent 9c0f28b commit 4939cfe
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .gitpod.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
image:
file: Dockerfile
tasks:
- init: deno task star
- init: deno task codegen && deno task star
vscode:
extensions:
- EditorConfig.EditorConfig
Expand Down
13 changes: 11 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,18 @@ ARG DENO_VERSION=1.29.1
FROM denoland/deno:${DENO_VERSION} as vscode

ARG POLKADOT_VERSION=v0.9.36
ARG POLKADOT_PARACHAIN_VERSION=v0.9.320
ARG ZOMBIENET_VERSION=v1.3.18

RUN export DEBIAN_FRONTEND=noninteractive \
&& apt-get update \
&& apt-get install -y unzip curl git \
&& apt-get install -y unzip curl git procps \
&& curl -L -o /usr/local/bin/polkadot https://github.com/paritytech/polkadot/releases/download/${POLKADOT_VERSION}/polkadot \
&& chmod +x /usr/local/bin/polkadot \
&& curl -L -o /usr/local/bin/polkadot-parachain https://github.com/paritytech/cumulus/releases/download/${POLKADOT_PARACHAIN_VERSION}/polkadot-parachain \
&& chmod +x /usr/local/bin/polkadot-parachain \
&& curl -L -o /usr/local/bin/zombienet-linux https://github.com/paritytech/zombienet/releases/download/${ZOMBIENET_VERSION}/zombienet-linux \
&& chmod +x /usr/local/bin/zombienet-linux \
&& curl -fsSL https://dprint.dev/install.sh | DPRINT_INSTALL=/usr/local sh \
&& curl -fsSL https://deb.nodesource.com/setup_18.x | bash - \
&& apt-get install -y nodejs \
Expand All @@ -20,7 +26,10 @@ RUN export DEBIAN_FRONTEND=noninteractive \
FROM vscode as dev
RUN export DEBIAN_FRONTEND=noninteractive \
&& apt-get update \
&& apt-get install -y zsh
&& apt-get install -y zsh \
&& apt-get autoremove -y \
&& apt-get clean -y \
&& rm -rf /var/lib/apt/lists/*

FROM vscode as gitpod

Expand Down
1 change: 1 addition & 0 deletions words.txt
Original file line number Diff line number Diff line change
Expand Up @@ -209,3 +209,4 @@ paritypr
lparachain
unioned
rustc
procps

0 comments on commit 4939cfe

Please sign in to comment.