mirror of
https://github.com/coder/coder.git
synced 2026-06-03 13:08:25 +00:00
700ec966e3
* use dogfood-oss image in devcontainer * fix image name * use Dockerfile * Discard changes to dogfood/Dockerfile * Use features to get docker in docker * use previleged container * use codercom/oss-dogfood image * add `--priviliged` to fix GitHub Codespaces builds * remove default options
13 lines
476 B
JSON
13 lines
476 B
JSON
{
|
|
"name": "Development environments on your infrastructure",
|
|
"image": "codercom/oss-dogfood:latest",
|
|
|
|
"features": {
|
|
// See all possible options here https://github.com/devcontainers/features/tree/main/src/docker-in-docker
|
|
"ghcr.io/devcontainers/features/docker-in-docker:2": {}
|
|
},
|
|
// SYS_PTRACE to enable go debugging
|
|
// without --priviliged the Github Codespace build fails (not required otherwise)
|
|
"runArgs": ["--cap-add=SYS_PTRACE", "--privileged"]
|
|
}
|