| 1 |
// For format details, see https://aka.ms/devcontainer.json. For config options, see the README at: |
| 2 |
// https://github.com/microsoft/vscode-dev-containers/tree/v0.154.2/containers/cpp |
| 3 |
{ |
| 4 |
"name": "Aircrack-ng", |
| 5 |
"build": { |
| 6 |
"dockerfile": "Dockerfile", |
| 7 |
// Update 'VARIANT' to pick an Debian / Ubuntu OS version: debian-10, debian-9, ubuntu-20.04, ubuntu-18.04 |
| 8 |
"args": { |
| 9 |
"VARIANT": "ubuntu-22.04" |
| 10 |
} |
| 11 |
}, |
| 12 |
"runArgs": [ |
| 13 |
"--cap-add=SYS_PTRACE", |
| 14 |
"--security-opt", |
| 15 |
"seccomp=unconfined" |
| 16 |
], |
| 17 |
// Configure tool-specific properties. |
| 18 |
"customizations": { |
| 19 |
// Configure properties specific to VS Code. |
| 20 |
"vscode": { |
| 21 |
// Set *default* container specific settings.json values on container create. |
| 22 |
"settings": { |
| 23 |
"terminal.integrated.defaultProfile.linux": "bash", |
| 24 |
"editor.formatOnSave": true, |
| 25 |
"clang-format.executable": "/usr/local/bin/clang-format", |
| 26 |
"clang-format.fallbackStyle": "none", |
| 27 |
"clang-format.assumeFilename": "${file}", |
| 28 |
"clang-format.style": "file", |
| 29 |
"editor.defaultFormatter": "llvm-vs-code-extensions.vscode-clangd", |
| 30 |
"clangd.path": "/usr/bin/clangd-14", |
| 31 |
"C_Cpp.clang_format_fallbackStyle": "none", |
| 32 |
"C_Cpp.clang_format_path": "/usr/local/bin/clang-format", |
| 33 |
"C_Cpp.clang_format_style": "file", |
| 34 |
"C_Cpp.formatting": "clangFormat" |
| 35 |
}, |
| 36 |
// Add the IDs of extensions you want installed when the container is created. |
| 37 |
"extensions": [ |
| 38 |
"ms-vscode.cpptools", |
| 39 |
"xaver.clang-format", |
| 40 |
"llvm-vs-code-extensions.vscode-clangd" |
| 41 |
] |
| 42 |
} |
| 43 |
}, |
| 44 |
// Use 'forwardPorts' to make a list of ports inside the container available locally. |
| 45 |
// "forwardPorts": [], |
| 46 |
// Use 'postCreateCommand' to run commands after the container is created. |
| 47 |
"postCreateCommand": "pre-commit install --install-hooks", |
| 48 |
// Comment out to connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root. |
| 49 |
"remoteUser": "vscode" |
| 50 |
} |