Skip to content

Commit

Permalink
build: add a devcontainer.json (#1544)
Browse files Browse the repository at this point in the history
Related issue: #1549

Support developing inside a container, ref: https://code.visualstudio.com/docs/devcontainers/containers
So that we can develop and compile Pegasus in a docker environment.
I can successfully compile the code in my WSL2 environment.
  • Loading branch information
Smityz authored Jun 29, 2023
1 parent 78136dd commit df658a7
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"image": "apache/pegasus:build-env-ubuntu2004",
"customizations": {
"vscode": {
"extensions": [
"ms-vscode.cpptools-extension-pack",
"eamodio.gitlens"
]
}
}
}
1 change: 1 addition & 0 deletions .licenserc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ header:
- '.rat-excludes'
- 'DISCLAIMER-WIP'
- 'python-client/requirement.txt'
- '.devcontainer/devcontainer.json'
# TODO(yingchun): shell/* files are import from thirdparties, we can move them to thirdparty later.
- 'src/shell/argh.h'
- 'src/shell/linenoise/linenoise.c'
Expand Down

0 comments on commit df658a7

Please sign in to comment.