Skip to content

Commit 25fc3f3

Browse files
committed
add ubuntu devcontainer because luau-lsp no work in codespace otherwise
1 parent 90b4316 commit 25fc3f3

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

.devcontainer/devcontainer.json

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
2+
// README at: https://github.com/devcontainers/templates/tree/main/src/ubuntu
3+
{
4+
"name": "Ubuntu",
5+
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
6+
"image": "mcr.microsoft.com/devcontainers/base:jammy",
7+
"features": {
8+
"ghcr.io/devcontainers/features/python:1": {}
9+
},
10+
"customizations": {
11+
"vscode": {
12+
"extensions": [
13+
"JohnnyMorganz.luau-lsp",
14+
"JohnnyMorganz.stylua"
15+
]
16+
}
17+
}
18+
// Features to add to the dev container. More info: https://containers.dev/features.
19+
// "features": {},
20+
// Use 'forwardPorts' to make a list of ports inside the container available locally.
21+
// "forwardPorts": [],
22+
// Use 'postCreateCommand' to run commands after the container is created.
23+
// "postCreateCommand": "uname -a",
24+
// Configure tool-specific properties.
25+
// "customizations": {},
26+
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
27+
// "remoteUser": "root"
28+
}

0 commit comments

Comments
 (0)