aboutsummaryrefslogtreecommitdiffhomepage
path: root/.devcontainer/default
diff options
context:
space:
mode:
authorThomas Van Iseghem <[email protected]>2023-09-11 20:04:45 +0200
committerThomas Van Iseghem <[email protected]>2023-09-11 20:04:45 +0200
commitfda485fc1ec3a3ff4075ff212f22a98218f8f009 (patch)
tree15f8ce7d4b623b7bf6c6f5293e03031f03c27241 /.devcontainer/default
parentd9e72343d0e6feb83854dbca4dc780432b561062 (diff)
downloadOpenCortex-fda485fc1ec3a3ff4075ff212f22a98218f8f009.tar.gz
OpenCortex-fda485fc1ec3a3ff4075ff212f22a98218f8f009.zip
Dev container will auto run init_system + changed workdir to ARM sysroot
Diffstat (limited to '.devcontainer/default')
-rw-r--r--.devcontainer/default/devcontainer.json14
1 files changed, 14 insertions, 0 deletions
diff --git a/.devcontainer/default/devcontainer.json b/.devcontainer/default/devcontainer.json
new file mode 100644
index 0000000..2a95e8c
--- /dev/null
+++ b/.devcontainer/default/devcontainer.json
@@ -0,0 +1,14 @@
+{
+ "name": "CorOS Default",
+ "workspaceFolder": "/opt/ARM/sysroot",
+ "dockerComposeFile": ["../../CorOS-dev-environment/CorOS-emulation/docker-compose.yaml"],
+ "service": "coros-emu",
+ "containerEnv": {
+ "UPDATE_FILE": "update-dYOaOKRKVdwFYyN2bb4KCKkl5Wjc1hg6.bin.gz"
+ },
+ "forwardPorts": [5900],
+ "postCreateCommand": "/bin/bash /init_system.sh",
+ "postStartCommand": "/bin/bash /init_system.sh",
+ "shutdownAction": "stopCompose"
+ }
+ \ No newline at end of file