-
-
Notifications
You must be signed in to change notification settings - Fork 24
Expand file tree
/
Copy pathdevcontainer.json
More file actions
47 lines (42 loc) · 1.48 KB
/
Copy pathdevcontainer.json
File metadata and controls
47 lines (42 loc) · 1.48 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
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
// README at: https://github.com/ryanlua/templates/tree/main/src/roblox
{
"name": "Roblox",
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
"image": "mcr.microsoft.com/devcontainers/base:ubuntu",
"features": {
"ghcr.io/ryanlua/features/rojo:0.2.1": {},
"ghcr.io/devcontainers/features/python:1": {}
},
// Configure tool-specific properties.
"customizations": {
// Configure properties specific to VS Code.
"vscode": {
// Add the IDs of extensions you want installed when the container is created.
"extensions": [
"kampfkarren.selene-vscode",
"johnnymorganz.stylua",
"johnnymorganz.luau-lsp",
"redhat.vscode-yaml"
]
}
},
// Use 'forwardPorts' to make a list of ports inside the container available locally.
"forwardPorts": [
8000,
34872
],
"portsAttributes": {
"8000": {
"label": "MkDocs",
"onAutoForward": "openPreview"
},
"34872": {
"label": "Rojo"
}
},
// Use 'postCreateCommand' to run commands after the container is created.
"postCreateCommand": "pip install mkdocs-material mike --break-system-packages && rokit install --no-trust-check && wally install && rojo sourcemap test.project.json --output sourcemap.json && wally-package-types --sourcemap sourcemap.json Packages/",
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
"remoteUser": "root"
}