Skip to contentSkip to conversation

Adds VSCode devcontainer support

PATCH New Matthias Schnelte 1 participant 1 message Oct 2, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Adds VSCode devcontainer support

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.

---
 lib/bb/fetch2/__init__.py | 1 +
 1 file changed, 1 insertion(+)
lib/bb/fetch2/__init__.py +1 -0
index 765aedd5..ffb1a92b 100644
@@ -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):
Signature · 1 line
2.42.0