Skip to content

Commit

Permalink
Add a devcontainer
Browse files Browse the repository at this point in the history
Signed-off-by: Oliver Gould <[email protected]>
  • Loading branch information
olix0r committed Aug 20, 2022
1 parent 6628ac4 commit 713e6ad
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"name": "j52j",
"image": "ghcr.io/linkerd/dev:v30",
"extensions": [
"DavidAnson.vscode-markdownlint",
"kokakiwi.vscode-just",
"NathanRidley.autotrim",
"redhat.vscode-yaml",
"rust-lang.rust-analyzer",
"samverschueren.final-newline",
"tamasfe.even-better-toml"
],
"runArgs": [
"--init",
// Limit container memory usage.
"--memory=12g",
"--memory-swap=12g",
// Use the host network so we can access k3d, etc.
"--net=host"
],
"overrideCommand": false,
"remoteUser": "code",
"mounts": [
"source=/var/run/docker.sock,target=/var/run/docker-host.sock,type=bind"
]
}

0 comments on commit 713e6ad

Please sign in to comment.