devcontainer: Add development environment for gihub codespace
authorHauke Mehrtens <hauke@hauke-m.de>
Sat, 1 Jul 2023 17:56:57 +0000 (19:56 +0200)
committerHauke Mehrtens <hauke@hauke-m.de>
Mon, 30 Oct 2023 22:34:26 +0000 (23:34 +0100)
This adds a configuration for github codespace using our buildbot
container. This allows users to start VS code in the browser using the
buildbot build container.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
.devcontainer/ci-env/devcontainer.json [new file with mode: 0644]

diff --git a/.devcontainer/ci-env/devcontainer.json b/.devcontainer/ci-env/devcontainer.json
new file mode 100644 (file)
index 0000000..23b0555
--- /dev/null
@@ -0,0 +1,12 @@
+{
+  "name": "CI build container",
+  "image": "ghcr.io/openwrt/buildbot/buildworker-v3.8.0:v9",
+  "features": {
+  },
+  "remoteUser": "buildbot",
+  "customizations": {
+    "vscode": {
+      "extensions": ["ms-vscode.cpptools", "plorefice.devicetree"]
+    }
+  }
+}