From cd93cac064744a76574e8da262480c87d677887d Mon Sep 17 00:00:00 2001 From: probonopd Date: Sun, 17 Nov 2024 21:42:09 +0000 Subject: [PATCH] Start build when Codespace starts --- .devcontainer/devcontainer.json | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index dae163b..ea6ad11 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -1,3 +1,9 @@ { - "build": { "dockerfile": "Dockerfile" }, + "build": { + "dockerfile": "Dockerfile" + }, + "containerEnv": { + "PATH": "/opt/gcc/gcc-arm-10.3-2021.07-x86_64-aarch64-none-elf/bin:/opt/gcc/gcc-arm-10.3-2021.07-x86_64-arm-none-eabi/bin:${PATH}" + }, + "postCreateCommand": "export RPI=3 && ./build.sh" }