This is an automated email from the ASF dual-hosted git repository.

laiyingchun pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-pegasus.git


The following commit(s) were added to refs/heads/master by this push:
     new df658a7a1 build: add a devcontainer.json (#1544)
df658a7a1 is described below

commit df658a7a15573fc1b6cdfb5410267a48d9300324
Author: Smilencer <[email protected]>
AuthorDate: Thu Jun 29 15:54:58 2023 +0800

    build: add a devcontainer.json (#1544)
    
    Related issue: https://github.com/apache/incubator-pegasus/issues/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.
---
 .devcontainer/devcontainer.json | 11 +++++++++++
 .licenserc.yaml                 |  1 +
 2 files changed, 12 insertions(+)

diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json
new file mode 100644
index 000000000..b3c310e51
--- /dev/null
+++ b/.devcontainer/devcontainer.json
@@ -0,0 +1,11 @@
+{
+  "image": "apache/pegasus:build-env-ubuntu2004",
+  "customizations": {
+    "vscode": {
+      "extensions": [
+        "ms-vscode.cpptools-extension-pack",
+        "eamodio.gitlens"
+      ]
+    }
+  }
+}
diff --git a/.licenserc.yaml b/.licenserc.yaml
index 3e5c9a2b6..c6f63afd8 100644
--- a/.licenserc.yaml
+++ b/.licenserc.yaml
@@ -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'


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to