Devcontainer: run setup as batman user (#30084)

This commit is contained in:
Justin Newberry
2023-09-27 23:40:02 -07:00
committed by GitHub
parent 04e239f7ed
commit fb89a2a6dd
3 changed files with 3 additions and 1 deletions

View File

@@ -18,3 +18,4 @@ fi
# that were running as root and therefore had their caches written as root
sudo chown -R $TARGET_USER: /tmp/scons_cache
sudo chown -R $TARGET_USER: /tmp/comma_download_cache
sudo chown -R $TARGET_USER: /home/batman/.comma

View File

@@ -31,7 +31,7 @@
"username": "batman"
}
},
"containerUser": "root",
"containerUser": "batman",
"remoteUser": "batman",
"customizations": {
"vscode": {

View File

@@ -105,3 +105,4 @@ jobs:
run: |
devcontainer exec --workspace-folder . scons -j$(nproc)
devcontainer exec --workspace-folder . pip install pip-install-test
devcontainer exec --workspace-folder . touch /home/batman/.comma/auth.json