Skip to content

Instantly share code, notes, and snippets.

@lduboeuf
Created December 10, 2025 16:28
Show Gist options
  • Select an option

  • Save lduboeuf/9834dab03ac1a58f5b4a3b1864fbb8ef to your computer and use it in GitHub Desktop.

Select an option

Save lduboeuf/9834dab03ac1a58f5b4a3b1864fbb8ef to your computer and use it in GitHub Desktop.
devContainers example calendar-app
{
"name": "lomiri-calendar-app (Clickable IDE)",
"image": "clickable/amd64-utnext-amd64-ide:latest",
"remoteUser": "root",
"customizations": {
"vscode": {
"extensions": [
"ms-vscode.cpptools",
"ms-vscode.cmake-tools",
"twxs.cmake",
"ms-azuretools.vscode-docker",
"ms-python.python"
],
"settings": {
"cmake.configureOnOpen": false
}
},
"qt-creator": {
"auto-detect-kits": false,
"kits": [
{
"name": "My DevContainer Kit",
"qt": "/usr/bin/qmake",
"compiler": {
"Cxx": "/usr/bin/c++",
"C": "/usr/bin/gcc"
},
"cmake": {
"binary": "/usr/bin/cmake",
"generator": "Unix Makefiles"
},
"debugger": "/usr/bin/lldb"
}
]
}
},
"containerEnv": {
"CLICKABLE_DESKTOP_MODE": "1",
"DISPLAY": "${localEnv:DISPLAY}",
"XAUTHORITY": "/tmp/.docker.xauth",
"HOME": "/home/phablet"
},
"runArgs": [
"--privileged",
"--security-opt", "label=disable",
"--net=host"
],
"mounts": [
"source=/tmp/.X11-unix,target=/tmp/.X11-unix,type=bind",
"source=/tmp/.docker.xauth,target=/tmp/.docker.xauth,type=bind",
"source=/home/lionel/.clickable/home,target=/home/phablet,type=bind",
"source=/etc/passwd,target=/etc/passwd,type=bind",
"source=/dev/shm,target=/dev/shm,type=bind",
"source=/etc/machine-id,target=/etc/machine-id,type=bind",
"source=/var/lib/dbus,target=/var/lib/dbus,type=bind",
"source=/dev/snd,target=/dev/snd,type=bind",
"source=/run/user/1000/pulse,target=/run/user/1000/pulse,type=bind",
"source=/home/lionel/.config/pulse,target=/home/phablet/.pulse,type=bind"
],
"postCreateCommand": "apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y qtorganizer5-eds || true"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment