Skip to content

Commit f5a4a78

Browse files
authored
feat: Launch the monorepo in a codespace. (AztecProtocol#3829)
This adds a `.devcontainer/devcontainer.json` file to the monorepo. This allows one to launch a codespace terminal from github in browser. The *expected* outcome of this would a codespace ready to go, for actually developing our monorepo. A little bit like what our mainframe offers. And I think it could well be worth configuring an image with all the right tools to support this. But that wasn't really the goal of this PR. This actually just installs the latest master containers into a minimal codespace, that allows a developer to unbox a project and run it against a sandbox etc. It just makes it a bit easier to test this flow directly in the monorepo. Hey. I ❤️ monorepo.
1 parent 009f66d commit f5a4a78

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

.devcontainer/devcontainer.json

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"image": "node:lts-bookworm-slim",
3+
"features": {
4+
"ghcr.io/devcontainers/features/docker-in-docker:2": {}
5+
},
6+
"postCreateCommand": "curl -s install.aztec.network | VERSION=master NON_INTERACTIVE=1 BIN_PATH=/usr/local/bin bash -s",
7+
"customizations": {
8+
"vscode": {
9+
"settings": {},
10+
"extensions": [
11+
"noir-lang.vscode-noir"
12+
]
13+
}
14+
},
15+
"workspaceMount": "source=${localWorkspaceFolder},target=/root/workspace,type=bind",
16+
"workspaceFolder": "/root/workspace"
17+
}

0 commit comments

Comments
 (0)