feat: Created devcontainer for OpenTOFU usage
This commit is contained in:
+4
-14
@@ -1,18 +1,14 @@
|
|||||||
{
|
{
|
||||||
"name": "Rust",
|
"name": "TF",
|
||||||
"runArgs": [
|
"runArgs": [
|
||||||
"--network=host"
|
"--network=host"
|
||||||
],
|
],
|
||||||
"image": "git.luke-else.co.uk/luke-else/rust-dev:latest",
|
"image": "git.luke-else.co.uk/luke-else/lab:latest",
|
||||||
"remoteUser": "dev",
|
"remoteUser": "dev",
|
||||||
"customizations": {
|
"customizations": {
|
||||||
"vscode": {
|
"vscode": {
|
||||||
"settings": {
|
"settings": {
|
||||||
"editor.formatOnSave": true,
|
"editor.formatOnSave": true,
|
||||||
"[rust]": {
|
|
||||||
"editor.defaultFormatter": "rust-lang.rust-analyzer"
|
|
||||||
},
|
|
||||||
"rust-analyzer.cargo.runBuildScripts": true,
|
|
||||||
"remote.autoForwardPorts": false,
|
"remote.autoForwardPorts": false,
|
||||||
"terminal.integrated.profiles.linux": {
|
"terminal.integrated.profiles.linux": {
|
||||||
"tmux-shell": {
|
"tmux-shell": {
|
||||||
@@ -29,14 +25,8 @@
|
|||||||
},
|
},
|
||||||
"extensions": [
|
"extensions": [
|
||||||
"ms-azuretools.vscode-docker",
|
"ms-azuretools.vscode-docker",
|
||||||
"rust-lang.rust-analyzer",
|
"opentofu.vscode-opentofu"
|
||||||
"tamasfe.even-better-toml",
|
|
||||||
"vadimcn.vscode-lldb",
|
|
||||||
"dustypomerleau.rust-syntax",
|
|
||||||
"chrisbeard.rustdocstring",
|
|
||||||
"mermaidchart.vscode-mermaid-chart"
|
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
},
|
}
|
||||||
"postCreateCommand": "cargo fetch"
|
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user