git.delta.rocks / unique-network / refs/commits / 922abe07f562

difftreelog

build update devcontainer for parachains

Yaroslav Bolyukin2021-07-27parent: #b783ce3.patch.diff
in: master

3 files changed

modified.devcontainer/Dockerfilediffbeforeafterboth
--- a/.devcontainer/Dockerfile
+++ b/.devcontainer/Dockerfile
@@ -13,8 +13,8 @@
     [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" && \
     nvm install v16.2.0 && \
     npm install -g yarn && \
-    rustup toolchain install nightly-2021-05-30 && \
-    rustup default nightly-2021-05-30 && \
+    rustup toolchain install nightly-2021-05-20 && \
+    rustup default nightly-2021-05-20 && \
     rustup target add wasm32-unknown-unknown && \
     rustup component add rustfmt clippy && \
     cargo install cargo-expand cargo-edit cargo-contract
modified.devcontainer/devcontainer.jsondiffbeforeafterboth
1{1{
2 "name": "Rust",2 "name": "Rust",
3 "build": {3 "dockerComposeFile": "./docker-compose.yml",
4 "dockerfile": "Dockerfile"4 "service": "nft_private",
5 },
6 "runArgs": [ "--cap-add=SYS_PTRACE", "--security-opt", "seccomp=unconfined" ],5 "workspaceFolder": "/workspaces/nft_private",
7 "settings": { 6 "settings": {
8 "terminal.integrated.shell.linux": "/bin/bash",7 "terminal.integrated.shell.linux": "/bin/bash",
9 "lldb.executable": "/usr/bin/lldb",8 "lldb.executable": "/usr/bin/lldb",
13 },12 },
14 "extensions": [13 "extensions": [
15 "matklad.rust-analyzer",14 "matklad.rust-analyzer",
16 "dbaeumer.vscode-eslint"15 "dbaeumer.vscode-eslint",
16 "tamasfe.even-better-toml"
17 ],17 ],
18 "remoteUser": "vscode"18 "remoteUser": "vscode"
19}19}
added.devcontainer/docker-compose.ymldiffbeforeafterboth
--- /dev/null
+++ b/.devcontainer/docker-compose.yml
@@ -0,0 +1,23 @@
+version: '3'
+services:
+  nft_private:
+    build: 
+        context: .
+    environment:
+      - JAEGER_AGENT_HOST=jaeger
+      - JAEGER_AGENT_PORT=6831
+    volumes:
+      - ..:/workspaces/nft_private:cached
+      - ../../polkadot:/workspaces/polkadot:cached
+      - ../../polkadot-launch:/workspaces/polkadot-launch:cached
+      #- ../../frontier:/workspaces/frontier
+    cap_add:
+      - SYS_PTRACE
+    security_opt:
+      - seccomp:unconfined
+    command: /bin/sh -c "while sleep 1000; do :; done"
+  jaeger:
+    image: jaegertracing/all-in-one:latest
+    ports:
+      - "6831:6831/udp"
+      - "16686:16686"
\ No newline at end of file