-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdevcontainer.json
More file actions
45 lines (45 loc) · 1.53 KB
/
Copy pathdevcontainer.json
File metadata and controls
45 lines (45 loc) · 1.53 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
{
"name": "native.cr Development",
"image": "crystal-lang/crystal:1.20.0-alpine",
"features": {
"ghcr.io/devcontainers/features/git:1": {},
"ghcr.io/devcontainers/features/github-cli:1": {},
"ghcr.io/devcontainers/features/docker-in-docker:2": {},
"ghcr.io/devcontainers/features/node:1": {},
"ghcr.io/devcontainers/features/python:1": {}
},
"customizations": {
"vscode": {
"extensions": [
"faustinoaq.crystal-lang",
"crystal-lang-tools.crystal-lang",
"eamodio.gitlens",
"vscode-icons-team.vscode-icons",
"editorconfig.editorconfig",
"ms-vscode.makefile-tools",
"github.vscode-github-actions"
],
"settings": {
"crystal.lint.enabled": true,
"crystal.format.enabled": true,
"editor.formatOnSave": true,
"editor.tabSize": 2,
"files.trimTrailingWhitespace": true,
"files.insertFinalNewline": true
}
}
},
"containerEnv": {
"ANDROID_HOME": "/opt/android-sdk",
"ANDROID_SDK_ROOT": "/opt/android-sdk"
},
"mounts": [
"source=${localEnv:HOME}${localEnv:USERPROFILE}/.android,target=/root/.android,type=bind",
"source=${localEnv:HOME}${localEnv:USERPROFILE}/.gradle,target=/root/.gradle,type=bind"
],
"postCreateCommand": "sh scripts/setup_devcontainer.sh",
"postStartCommand": "sh scripts/start_devcontainer.sh",
"remoteUser": "root",
"workspaceFolder": "/workspaces/native.cr",
"workspaceMount": "type=bind,source=${localWorkspaceFolder},target=/workspaces/native.cr"
}