Skip to content

Commit 1a685b5

Browse files
committed
chore(config): add docker-outside-of-docker, drop Rust tool version pin in
devcontainer.
1 parent 60a3226 commit 1a685b5

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

.devcontainer/devcontainer.json

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,12 @@
88
"build": {
99
"dockerfile": "Dockerfile",
1010
"context": "..",
11-
"args": {
12-
"RUST_VERSION": "1.96"
11+
},
12+
"features": {
13+
"ghcr.io/devcontainers/features/docker-outside-of-docker:1": {
14+
"moby": false
1315
}
1416
},
15-
"features": {},
1617
"remoteUser": "vscode",
1718
"workspaceMount": "source=${localWorkspaceFolder},target=/workspaces/iggy,type=bind,consistency=cached",
1819
"workspaceFolder": "/workspaces/iggy",
@@ -41,7 +42,7 @@
4142
"8090": { "label": "TCP (binary)" },
4243
"8092": { "label": "WebSocket" }
4344
},
44-
"postCreateCommand": "sudo chown -R vscode:vscode target /usr/local/cargo/registry 2>/dev/null; rustup show && npm --prefix web ci",
45+
"postCreateCommand": "sudo chown vscode:vscode target /usr/local/cargo/registry; rustup show && npm --prefix web ci",
4546
"customizations": {
4647
"vscode": {
4748
"extensions": [

0 commit comments

Comments
 (0)