Skip to content

Commit

Permalink
Add devcontainer for podman in rootless mode
Browse files Browse the repository at this point in the history
  • Loading branch information
brianegge committed Nov 28, 2024
1 parent 6c5f481 commit c363ae9
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
File renamed without changes.
13 changes: 13 additions & 0 deletions .devcontainer/podman/devcontainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"image": "mcr.microsoft.com/devcontainers/python:3.12",
"postCreateCommand": "pip install --upgrade pip && pip3 install -r requirements_generate.txt",
// Comment out to connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root.
"runArgs": [
"--userns=keep-id"
],
"containerUser": "vscode",
"updateRemoteUserUID": true,
"containerEnv": {
"HOME": "/home/vscode"
}
}

0 comments on commit c363ae9

Please sign in to comment.