mirror of https://github.com/dswd/vpncloud.git
Dev container
This commit is contained in:
parent
ca220ded0c
commit
5eeb125d74
|
@ -11,7 +11,7 @@ RUN chown vscode: -R /usr/local/rustup /usr/local/cargo
|
||||||
|
|
||||||
USER vscode
|
USER vscode
|
||||||
|
|
||||||
RUN rustup default 1.57.0 \
|
RUN rustup default 1.73.0 \
|
||||||
&& rustup component add clippy rust-src rustfmt
|
&& rustup component add clippy rust-src rustfmt
|
||||||
|
|
||||||
RUN cargo install cargo-outdated cargo-cache cargo-criterion \
|
RUN cargo install cargo-outdated cargo-cache cargo-criterion \
|
||||||
|
|
|
@ -8,26 +8,30 @@
|
||||||
"--security-opt",
|
"--security-opt",
|
||||||
"seccomp=unconfined"
|
"seccomp=unconfined"
|
||||||
],
|
],
|
||||||
// Set *default* container specific settings.json values on container create.
|
|
||||||
"settings": {
|
|
||||||
"terminal.integrated.shell.linux": "/bin/bash",
|
|
||||||
"lldb.executable": "/usr/bin/lldb",
|
|
||||||
// VS Code don't watch files under ./target
|
|
||||||
"files.watcherExclude": {
|
|
||||||
"**/target/**": true
|
|
||||||
}
|
|
||||||
},
|
|
||||||
// Add the IDs of extensions you want installed when the container is created.
|
// Add the IDs of extensions you want installed when the container is created.
|
||||||
"extensions": [
|
// Set *default* container specific settings.json values on container create.
|
||||||
"bungcip.better-toml",
|
"customizations": {
|
||||||
"vadimcn.vscode-lldb",
|
"vscode": {
|
||||||
"serayuzgur.crates",
|
"terminal.integrated.shell.linux": "/bin/bash",
|
||||||
"editorconfig.editorconfig",
|
"lldb.executable": "/usr/bin/lldb",
|
||||||
"swellaby.vscode-rust-test-adapter",
|
// VS Code don't watch files under ./target
|
||||||
"matklad.rust-analyzer",
|
"files.watcherExclude": {
|
||||||
"asciidoctor.asciidoctor-vscode",
|
"**/target/**": true
|
||||||
"ms-vscode.test-adapter-converter"
|
},
|
||||||
],
|
// Add the IDs of extensions you want installed when the container is created.
|
||||||
|
"extensions": [
|
||||||
|
"bungcip.better-toml",
|
||||||
|
"vadimcn.vscode-lldb",
|
||||||
|
"serayuzgur.crates",
|
||||||
|
"editorconfig.editorconfig",
|
||||||
|
"swellaby.vscode-rust-test-adapter",
|
||||||
|
"matklad.rust-analyzer",
|
||||||
|
"asciidoctor.asciidoctor-vscode",
|
||||||
|
"ms-vscode.test-adapter-converter"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
// Use 'forwardPorts' to make a list of ports inside the container available locally.
|
// Use 'forwardPorts' to make a list of ports inside the container available locally.
|
||||||
// "forwardPorts": [],
|
// "forwardPorts": [],
|
||||||
// Use 'postCreateCommand' to run commands after the container is created.
|
// Use 'postCreateCommand' to run commands after the container is created.
|
||||||
|
|
Loading…
Reference in New Issue