From 1a44083f099daef90465a0818d400da0c18a0732 Mon Sep 17 00:00:00 2001 From: Denes Tarjan Date: Fri, 12 Apr 2024 16:48:11 +0000 Subject: [PATCH] Enable git send-email in vscode dev containers --- .devcontainer/devcontainer.json | 4 +++- .devcontainer/install_deps.sh | 5 ++++- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 59f97f429..eccc12825 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -11,7 +11,9 @@ "onCreateCommand" : ".devcontainer/install_deps.sh", "postStartCommand" : ".devcontainer/setup_ccache.sh ${containerWorkspaceFolder}/.devcontainer/ccache_storage", "containerEnv": { - "CMAKE_CXX_COMPILER_LAUNCHER": "ccache" + "CMAKE_CXX_COMPILER_LAUNCHER": "ccache", + "EDITOR": "nano", + "LC_ALL": "C" }, "portsAttributes": { "2345": { diff --git a/.devcontainer/install_deps.sh b/.devcontainer/install_deps.sh index 6460abfc1..a0c61e4b8 100755 --- a/.devcontainer/install_deps.sh +++ b/.devcontainer/install_deps.sh @@ -11,7 +11,10 @@ DEBIAN_FRONTEND=noninteractive sudo apt-get install --no-install-recommends -y \ qemu-user \ clangd-${LLVM_VERSION} \ ccache \ - gdb-multiarch + gdb-multiarch \ + git-email \ + libemail-valid-perl \ + nano # Needed to run pipx packages originally installed for the root user sudo chmod +x /root -- GitLab