Files
impala/.devcontainer/devcontainer.json
Fredy Wijaya 4b62812995 [tools] Add Dev Container support for Impala development.
Currently only VS Code is supported since IntelliJ/CLion support for
Dev Container is still beta at the time of this writing.

To use it, simply open Impala source code.

$ git clone https://github.com/apache/impala.git
$ cd impala
$ code .

The bootstrap_development.sh will be automatically executed post Docker
container creation and all necessary extensions for IDE-like experience
will be automatically installed. For C++, it will use clangd that uses
compilation database instead of the Microsoft C++ extension since it
works better with Clang related tools.

Change-Id: I50508a09710641ec2a299b001fef3e7fefb0b7d5
Reviewed-on: http://gerrit.cloudera.org:8080/20380
Reviewed-by: Impala Public Jenkins <impala-public-jenkins@cloudera.com>
Tested-by: Quanlong Huang <huangquanlong@gmail.com>
2023-08-23 12:30:14 +00:00

22 lines
499 B
JSON

{
"name": "Impala Dev",
"dockerFile": "Dockerfile",
"runArgs": [
"--privileged"
],
"remoteUser": "impdev",
"containerUser": "impdev",
"postCreateCommand": "echo 'yes' | bin/bootstrap_development.sh",
"customizations": {
"vscode": {
"extensions": [
"ms-vscode.cmake-tools",
"llvm-vs-code-extensions.vscode-clangd",
"vadimcn.vscode-lldb",
"webfreak.debug",
"vscjava.vscode-java-pack",
"ms-python.python"
]
}
}
}