diff options
| author | zy <[email protected]> | 2023-10-07 09:26:31 +0000 |
|---|---|---|
| committer | zy <[email protected]> | 2023-10-07 09:26:31 +0000 |
| commit | 4ce4ee5a512d7a59779f7f2862b8db9ec4709369 (patch) | |
| tree | 5dd8273f8d2edfb57b6d95011371aff67375e6de | |
| parent | d2c95684637e68e750db69456cba228a4bc6da45 (diff) | |
| -rw-r--r-- | .devcontainer/devcontainer.json | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 47269ec..5a56711 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -14,10 +14,10 @@ "customizations": { // Configure properties specific to VS Code. "vscode": { - "settings": { - "http.proxySupport": "override", - "http.proxy": "http://172.28.240.1:7890" - }, + // "settings": { + // "http.proxySupport": "override", + // "http.proxy": "http://172.28.240.1:7890" + // }, "extensions": [ "streetsidesoftware.code-spell-checker", "GitHub.copilot", @@ -25,11 +25,13 @@ "eamodio.gitlens" ] } - } + }, + "privileged": true, // Use 'forwardPorts' to make a list of ports inside the container available locally. // "forwardPorts": [], // Use 'postCreateCommand' to run commands after the container is created. // "postCreateCommand": "rustc --version", // Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root. - // "remoteUser": "root" + "remoteUser": "root", + // "postCreateCommand": ["apt update && apt install -y libpcap-dev"] }
\ No newline at end of file |
