diff options
author | Thomas Van Iseghem <[email protected]> | 2023-09-11 20:04:45 +0200 |
---|---|---|
committer | Thomas Van Iseghem <[email protected]> | 2023-09-11 20:04:45 +0200 |
commit | fda485fc1ec3a3ff4075ff212f22a98218f8f009 (patch) | |
tree | 15f8ce7d4b623b7bf6c6f5293e03031f03c27241 | |
parent | d9e72343d0e6feb83854dbca4dc780432b561062 (diff) | |
download | OpenCortex-fda485fc1ec3a3ff4075ff212f22a98218f8f009.tar.gz OpenCortex-fda485fc1ec3a3ff4075ff212f22a98218f8f009.zip |
Dev container will auto run init_system + changed workdir to ARM sysroot
-rw-r--r-- | .devcontainer/default/devcontainer.json | 14 | ||||
-rw-r--r-- | .devcontainer/devcontainer.json | 14 |
2 files changed, 14 insertions, 14 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 diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json deleted file mode 100644 index ac71510..0000000 --- a/.devcontainer/devcontainer.json +++ /dev/null @@ -1,14 +0,0 @@ -// .devcontainer/devcontainer.json -{ - "name": "CorOS DevContainer", - "workspaceFolder": "/", - "dockerComposeFile": ["../CorOS-dev-environment/CorOS-emulation/docker-compose.yaml"], - "service": "coros-emu", - "containerEnv": { - "UPDATE_FILE": "update-dYOaOKRKVdwFYyN2bb4KCKkl5Wjc1hg6.bin.gz" - }, - "forwardPorts": [5900], - "postCreateCommand": "/bin/bash", - "shutdownAction": "stopCompose" - } -
\ No newline at end of file |