Skip to content

Commit afb640d

Browse files
committed
add a devcontainer for codespace
1 parent 7f603d6 commit afb640d

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

.devcontainer/devcontainer.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{
2+
"name": "Ruby 3.2 Dev Container",
3+
"image": "mcr.microsoft.com/devcontainers/ruby:3.2",
4+
"features": {
5+
"ghcr.io/devcontainers/features/docker-in-docker:1": {}
6+
},
7+
"postCreateCommand": "bundle install",
8+
"customizations": {
9+
"vscode": {
10+
"extensions": ["rebornix.Ruby"]
11+
}
12+
},
13+
"mounts": [
14+
"source=${localWorkspaceFolder},target=/workspace,type=bind,consistency=cached"
15+
]
16+
}

0 commit comments

Comments
 (0)