Created
November 1, 2023 16:40
-
-
Save sunasaji/5938f2b36aaf4efbf62ca6f4d3e0b77a to your computer and use it in GitHub Desktop.
Open Interpreter devcontainer.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
{ | |
"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