aboutsummaryrefslogtreecommitdiffhomepage
path: root/.devcontainer
diff options
context:
space:
mode:
authorIdan Gazit <[email protected]>2020-09-30 23:23:42 -0700
committerIdan Gazit <[email protected]>2020-10-09 18:54:27 -0700
commit5bd09b586e153185850fe468b19fdd0eb534f35d (patch)
tree82b843333009154cc83b35e4bcc9c7d91005dace /.devcontainer
parent9231f6c57beb6bfabc030f9debcb659dd964634e (diff)
downloadzmk-5bd09b586e153185850fe468b19fdd0eb534f35d.tar.gz
zmk-5bd09b586e153185850fe468b19fdd0eb534f35d.zip
Remove Dockerfile in favor of image
Per the docs, we can directly specify an image in devcontainer.json: https://code.visualstudio.com/docs/remote/devcontainerjson-reference
Diffstat (limited to '.devcontainer')
-rw-r--r--.devcontainer/Dockerfile1
-rw-r--r--.devcontainer/devcontainer.json5
2 files changed, 3 insertions, 3 deletions
diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile
deleted file mode 100644
index ba4e1223b6..0000000000
--- a/.devcontainer/Dockerfile
+++ /dev/null
@@ -1 +0,0 @@
-FROM zmkfirmware/zephyr-west-action-arm \ No newline at end of file
diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json
index 7450534679..bbf44bc765 100644
--- a/.devcontainer/devcontainer.json
+++ b/.devcontainer/devcontainer.json
@@ -1,6 +1,7 @@
{
"name": "ZMK Development",
- "dockerFile": "Dockerfile",
- "extensions": ["ms-vscode.cpptools"]
+ "image": "zmkfirmware/zephyr-west-action-arm",
+ "extensions": ["ms-vscode.cpptools"],
+ "runArgs": ["--security-opt", "label=disable"]
}