forked from microsoft/FluidFramework
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdevcontainer.json
More file actions
73 lines (73 loc) · 2.1 KB
/
Copy pathdevcontainer.json
File metadata and controls
73 lines (73 loc) · 2.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
// Codespaces profile optimized for AI-agent workflows with extra CLI tooling.
{
"name": "AI-enabled",
// Bump this version to force a codespace prebuild rebuild. See .devcontainer/README.md.
// prebuild-version: 1.0.10
"build": {
"dockerfile": "../Dockerfile",
"args": {
"NODE_VERSION": "24"
// "INSTALL_AGENCY": "true",
// TODO: Figure out the playwright strategy
// "INSTALL_PLAYWRIGHT_CLI": "true"
}
},
"runArgs": [
"--init",
"--security-opt=seccomp=unconfined",
"--security-opt=apparmor=unconfined",
"--cap-add=SYS_ADMIN"
],
"customizations": {
"vscode": {
"extensions": [
"biomejs.biome",
"dbaeumer.vscode-eslint",
"esbenp.prettier-vscode",
"MAI-EngineeringSystems.mai-ai-telemetry",
"ms-azure-devops.azure-pipelines",
"ms-azuretools.vscode-docker",
"mutantdino.resourcemonitor",
"vsls-contrib.codetour"
],
"settings": {
"workbench.startupEditor": "none"
}
},
"codespaces": {
"openFiles": [".devcontainer/ai-agent/GETTING_STARTED.md"]
}
},
"containerEnv": {
"NODE_VERSION_OVERRIDE": "24",
"COREPACK_ENABLE_DOWNLOAD_PROMPT": "0"
},
"onCreateCommand": "bash scripts/codespace-setup/on-create.sh && bash scripts/codespace-setup/install-build-cli.sh",
"postCreateCommand": "bash scripts/codespace-setup/ai-setup.sh",
"postStartCommand": {
"bwrap-setup": "sudo mount --make-rshared /",
"sandbox-tmpdir": "mkdir -p /tmp/claude"
},
"postAttachCommand": {},
"remoteUser": "node",
"features": {
// Enables docker CLI inside the container
"ghcr.io/devcontainers/features/docker-outside-of-docker:1": {
"moby": false
},
// Install the github CLI
"ghcr.io/devcontainers/features/github-cli:1": {},
// Install git lfs
"ghcr.io/devcontainers/features/git-lfs:1": {},
// Enables SSH connections into the container using `gh codespace ssh`
"ghcr.io/devcontainers/features/sshd:1": {
"version": "latest"
}
},
// Setting this so Codespaces default settings use it. It's not really *required*, but a clean build
// can be lengthy enough that it's convenient.
"hostRequirements": {
"cpus": 32,
"memory": "64gb"
}
}