diff mbox series

Adds VSCode devcontainer support

Message ID 20231002064106.16886-1-develop@schnelte.de
State New
Headers show
Series Adds VSCode devcontainer support | expand

Commit Message

Matthias Schnelte Oct. 2, 2023, 6:41 a.m. UTC
Visual studio code's devcontainer solution is injecting a git credential
helper into the devcontainers. This helper forwards the host credential
helper into the container.

The git credential helper injected by visual studio code into
dev containers needs the REMOTE_CONTAINERS_IPC environment
variable in order for all git commands that require authentication
to work.

Signed-off-by: Matthias Schnelte <develop@schnelte.de>
---
 lib/bb/fetch2/__init__.py | 1 +
 1 file changed, 1 insertion(+)
diff mbox series

Patch

diff --git a/lib/bb/fetch2/__init__.py b/lib/bb/fetch2/__init__.py
index 765aedd5..ffb1a92b 100644
--- a/lib/bb/fetch2/__init__.py
+++ b/lib/bb/fetch2/__init__.py
@@ -874,6 +874,7 @@  FETCH_EXPORT_VARS = ['HOME', 'PATH',
                      'AWS_SECRET_ACCESS_KEY',
                      'AWS_DEFAULT_REGION',
                      'GIT_CACHE_PATH',
+                     'REMOTE_CONTAINERS_IPC',
                      'SSL_CERT_DIR']
 
 def get_fetcher_environment(d):