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
before · .devcontainer/devcontainer.json
1{2	"name": "Rust",3	"build": {4		"dockerfile": "Dockerfile"5	},6	"runArgs": [ "--cap-add=SYS_PTRACE", "--security-opt", "seccomp=unconfined" ],7	"settings": { 8		"terminal.integrated.shell.linux": "/bin/bash",9		"lldb.executable": "/usr/bin/lldb",10		"files.watcherExclude": {11			"**/target/**": true12		}13	},14	"extensions": [15		"matklad.rust-analyzer",16		"dbaeumer.vscode-eslint"17	],18	"remoteUser": "vscode"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