From fda485fc1ec3a3ff4075ff212f22a98218f8f009 Mon Sep 17 00:00:00 2001 From: Thomas Van Iseghem Date: Mon, 11 Sep 2023 20:04:45 +0200 Subject: Dev container will auto run init_system + changed workdir to ARM sysroot --- .devcontainer/default/devcontainer.json | 14 ++++++++++++++ .devcontainer/devcontainer.json | 14 -------------- 2 files changed, 14 insertions(+), 14 deletions(-) create mode 100644 .devcontainer/default/devcontainer.json delete mode 100644 .devcontainer/devcontainer.json 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 -- cgit v1.2.3