From 789cd7dda78dbfef5bb21f17757f1699c34ee8c3 Mon Sep 17 00:00:00 2001 From: Laurent Ellerbach Date: Fri, 6 Dec 2024 14:11:07 +0100 Subject: [PATCH 1/2] fixing git config for cloning repos --- .devcontainer/All/devcontainer.json | 6 +++--- .devcontainer/AzureRTOS/devcontainer.json | 6 +++--- .devcontainer/ChibiOS/devcontainer.json | 7 ++++--- .devcontainer/ESP32/devcontainer.json | 6 +++--- .devcontainer/FreeRTOS-NXP/devcontainer.json | 6 +++--- .devcontainer/TI/devcontainer.json | 6 +++--- 6 files changed, 19 insertions(+), 18 deletions(-) diff --git a/.devcontainer/All/devcontainer.json b/.devcontainer/All/devcontainer.json index 2e10fe7514..9d0e0a02a4 100644 --- a/.devcontainer/All/devcontainer.json +++ b/.devcontainer/All/devcontainer.json @@ -36,13 +36,13 @@ "xaver.clang-format" ] } - } + }, // You can pull all the repos with the latest changes, this is only valid if you are using the ./sources/Dockerfile.All containers // "postAttachCommand": "/usr/local/git-pull-repos.sh" // Use 'forwardPorts' to make a list of ports inside the container available locally. // "forwardPorts": [], - // Use 'postCreateCommand' to run commands after the container is created. - // "postCreateCommand": "terraform --version", + // This is needed to allow cloning repositories like the STM32 hal driver ones + "postCreateCommand": "git config --global safe.directory '*'" // Uncomment to connect as a non-root user. See https: //aka.ms/vscode-remote/containers/non-root. // ,"remoteUser": "vscode" } diff --git a/.devcontainer/AzureRTOS/devcontainer.json b/.devcontainer/AzureRTOS/devcontainer.json index 3d99e0e14b..2f0772841b 100644 --- a/.devcontainer/AzureRTOS/devcontainer.json +++ b/.devcontainer/AzureRTOS/devcontainer.json @@ -36,13 +36,13 @@ "xaver.clang-format" ] } - } + }, // You can pull all the repos with the latest changes, this is only valid if you are using the ./sources/Dockerfile.All containers // "postAttachCommand": "/usr/local/git-pull-repos.sh" // Use 'forwardPorts' to make a list of ports inside the container available locally. // "forwardPorts": [], - // Use 'postCreateCommand' to run commands after the container is created. - // "postCreateCommand": "terraform --version", + // This is needed to allow cloning repositories like the STM32 hal driver ones + "postCreateCommand": "git config --global safe.directory '*'" // Uncomment to connect as a non-root user. See https: //aka.ms/vscode-remote/containers/non-root. // ,"remoteUser": "vscode" } diff --git a/.devcontainer/ChibiOS/devcontainer.json b/.devcontainer/ChibiOS/devcontainer.json index 27f71f2f7f..af40fa922d 100644 --- a/.devcontainer/ChibiOS/devcontainer.json +++ b/.devcontainer/ChibiOS/devcontainer.json @@ -36,13 +36,14 @@ "xaver.clang-format" ] } - } + }, // You can pull all the repos with the latest changes, this is only valid if you are using the ./sources/Dockerfile.All containers // "postAttachCommand": "/usr/local/git-pull-repos.sh" // Use 'forwardPorts' to make a list of ports inside the container available locally. - // "forwardPorts": [], + // "forwardPorts": [], // Use 'postCreateCommand' to run commands after the container is created. - // "postCreateCommand": "terraform --version", + // This is needed to allow cloning repositories like the STM32 hal driver ones + "postCreateCommand": "git config --global safe.directory '*'" // Uncomment to connect as a non-root user. See https: //aka.ms/vscode-remote/containers/non-root. // ,"remoteUser": "vscode" } diff --git a/.devcontainer/ESP32/devcontainer.json b/.devcontainer/ESP32/devcontainer.json index 987eac7827..2572e79d69 100644 --- a/.devcontainer/ESP32/devcontainer.json +++ b/.devcontainer/ESP32/devcontainer.json @@ -36,13 +36,13 @@ "xaver.clang-format" ] } - } + }, // You can pull all the repos with the latest changes, this is only valid if you are using the ./sources/Dockerfile.All containers // "postAttachCommand": "/usr/local/git-pull-repos.sh" // Use 'forwardPorts' to make a list of ports inside the container available locally. // "forwardPorts": [], - // Use 'postCreateCommand' to run commands after the container is created. - // "postCreateCommand": "terraform --version", + // This is needed to allow cloning repositories like the STM32 hal driver ones + "postCreateCommand": "git config --global safe.directory '*'" // Uncomment to connect as a non-root user. See https: //aka.ms/vscode-remote/containers/non-root. // ,"remoteUser": "vscode" } diff --git a/.devcontainer/FreeRTOS-NXP/devcontainer.json b/.devcontainer/FreeRTOS-NXP/devcontainer.json index 7be0828ab6..38422669e8 100644 --- a/.devcontainer/FreeRTOS-NXP/devcontainer.json +++ b/.devcontainer/FreeRTOS-NXP/devcontainer.json @@ -36,13 +36,13 @@ "xaver.clang-format" ] } - } + }, // You can pull all the repos with the latest changes, this is only valid if you are using the ./sources/Dockerfile.All containers // "postAttachCommand": "/usr/local/git-pull-repos.sh" // Use 'forwardPorts' to make a list of ports inside the container available locally. // "forwardPorts": [], - // Use 'postCreateCommand' to run commands after the container is created. - // "postCreateCommand": "terraform --version", + // This is needed to allow cloning repositories like the STM32 hal driver ones + "postCreateCommand": "git config --global safe.directory '*'" // Uncomment to connect as a non-root user. See https: //aka.ms/vscode-remote/containers/non-root. // ,"remoteUser": "vscode" } diff --git a/.devcontainer/TI/devcontainer.json b/.devcontainer/TI/devcontainer.json index 7aa3122ef3..cfd9d5530d 100644 --- a/.devcontainer/TI/devcontainer.json +++ b/.devcontainer/TI/devcontainer.json @@ -36,13 +36,13 @@ "xaver.clang-format" ] } - } + }, // You can pull all the repos with the latest changes, this is only valid if you are using the ./sources/Dockerfile.All containers // "postAttachCommand": "/usr/local/git-pull-repos.sh" // Use 'forwardPorts' to make a list of ports inside the container available locally. // "forwardPorts": [], - // Use 'postCreateCommand' to run commands after the container is created. - // "postCreateCommand": "terraform --version", + // This is needed to allow cloning repositories like the STM32 hal driver ones + "postCreateCommand": "git config --global safe.directory '*'" // Uncomment to connect as a non-root user. See https: //aka.ms/vscode-remote/containers/non-root. // ,"remoteUser": "vscode" } From b3a3c5725d9bfd94b3ba89a85ccb48cbef3717f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jos=C3=A9=20Sim=C3=B5es?= Date: Fri, 6 Dec 2024 13:54:12 +0000 Subject: [PATCH 2/2] Bump container versions --- .devcontainer/All/Dockerfile.All | 2 +- .devcontainer/AzureRTOS/Dockerfile.AzureRTOS | 2 +- .devcontainer/ChibiOS/Dockerfile.ChibiOS | 2 +- .devcontainer/ESP32/Dockerfile.ESP32 | 2 +- .devcontainer/FreeRTOS-NXP/Dockerfile.FreeRTOS-NXP | 2 +- .devcontainer/TI/Dockerfile.TI | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.devcontainer/All/Dockerfile.All b/.devcontainer/All/Dockerfile.All index c916e6a413..32cf48ba94 100644 --- a/.devcontainer/All/Dockerfile.All +++ b/.devcontainer/All/Dockerfile.All @@ -1 +1 @@ -FROM ghcr.io/nanoframework/dev-container-all:v2.54 +FROM ghcr.io/nanoframework/dev-container-all:v2.55 diff --git a/.devcontainer/AzureRTOS/Dockerfile.AzureRTOS b/.devcontainer/AzureRTOS/Dockerfile.AzureRTOS index eb0c234415..b701faac63 100644 --- a/.devcontainer/AzureRTOS/Dockerfile.AzureRTOS +++ b/.devcontainer/AzureRTOS/Dockerfile.AzureRTOS @@ -1 +1 @@ -FROM ghcr.io/nanoframework/dev-container-azure-rtos:v1.31 +FROM ghcr.io/nanoframework/dev-container-azure-rtos:v1.32 diff --git a/.devcontainer/ChibiOS/Dockerfile.ChibiOS b/.devcontainer/ChibiOS/Dockerfile.ChibiOS index 9e61290c4f..d8dc9ff90f 100644 --- a/.devcontainer/ChibiOS/Dockerfile.ChibiOS +++ b/.devcontainer/ChibiOS/Dockerfile.ChibiOS @@ -1 +1 @@ -FROM ghcr.io/nanoframework/dev-container-chibios:v1.32 +FROM ghcr.io/nanoframework/dev-container-chibios:v1.33 diff --git a/.devcontainer/ESP32/Dockerfile.ESP32 b/.devcontainer/ESP32/Dockerfile.ESP32 index 7f556feeb2..8269826ac5 100644 --- a/.devcontainer/ESP32/Dockerfile.ESP32 +++ b/.devcontainer/ESP32/Dockerfile.ESP32 @@ -1 +1 @@ -FROM ghcr.io/nanoframework/dev-container-esp32:v2.34 +FROM ghcr.io/nanoframework/dev-container-esp32:v2.35 diff --git a/.devcontainer/FreeRTOS-NXP/Dockerfile.FreeRTOS-NXP b/.devcontainer/FreeRTOS-NXP/Dockerfile.FreeRTOS-NXP index 419005ad34..62ef405149 100644 --- a/.devcontainer/FreeRTOS-NXP/Dockerfile.FreeRTOS-NXP +++ b/.devcontainer/FreeRTOS-NXP/Dockerfile.FreeRTOS-NXP @@ -1 +1 @@ -FROM ghcr.io/nanoframework/dev-container-freertos-nxp:v1.04 +FROM ghcr.io/nanoframework/dev-container-freertos-nxp:v1.05 diff --git a/.devcontainer/TI/Dockerfile.TI b/.devcontainer/TI/Dockerfile.TI index f9b647eeb8..030c60aa4f 100644 --- a/.devcontainer/TI/Dockerfile.TI +++ b/.devcontainer/TI/Dockerfile.TI @@ -1 +1 @@ -FROM ghcr.io/nanoframework/dev-container-ti:v1.25 +FROM ghcr.io/nanoframework/dev-container-ti:v1.26