Skip to content

Instantly share code, notes, and snippets.

@sunasaji
Created November 1, 2023 16:40
Show Gist options
  • Save sunasaji/5938f2b36aaf4efbf62ca6f4d3e0b77a to your computer and use it in GitHub Desktop.
Save sunasaji/5938f2b36aaf4efbf62ca6f4d3e0b77a to your computer and use it in GitHub Desktop.
Open Interpreter devcontainer.json
{
"name": "Open Interpreter",
"image": "python:3.11-slim-bookworm",
// "features": {},
// "forwardPorts": [],
"postCreateCommand": "pip3 install --user open-interpreter",
"containerEnv": {
//"DISPLAY":"${localEnv:DISPLAY}",
"WAYLAND_DISPLAY":"${localEnv:WAYLAND_DISPLAY}",
"XDG_RUNTIME_DIR":"${localEnv:XDG_RUNTIME_DIR}",
"PULSE_SERVER":"${localEnv:PULSE_SERVER}",
"QT_X11_NO_MITSHM":"1",
"MOZ_ENABLE_WAYLAND":"1",
"QT_QPA_PLATFORM":"wayland",
"GTK_SESSION_TYPE":"wayland"
},
"mounts": [
//"source=/tmp/.X11-unix/,target=/tmp/.X11-unix/,type=bind,consistency=cached",
"source=/mnt/wslg,target=/mnt/wslg,type=bind,consistency=cached"
],
"features": {
"ghcr.io/devcontainers/features/common-utils:2": {
"username":"vscode"
}
},
"containerUser": "vscode"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment