-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdevcontainer-feature.json
More file actions
57 lines (57 loc) · 1.61 KB
/
devcontainer-feature.json
File metadata and controls
57 lines (57 loc) · 1.61 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
48
49
50
51
52
53
54
55
56
57
{
"id": "elixir-project",
"version": "1.0.0",
"name": "elixir-project",
"description": "An opinionated, batteries-included Dev Container Feature for Elixir projects.",
"documentationURL": "https://github.com/CargoSense/devcontainer-features/tree/main/src/elixir-project",
"licenseURL": "https://github.com/CargoSense/devcontainer-features/blob/main/LICENSE",
"containerEnv": {
"LESS": "-FMR",
"PAGER": "less"
},
"customizations": {
"vscode": {
"extensions": [
"ExpertLSP.expert"
],
"settings": {
"[elixir]": {
"editor.formatOnSave": true
},
"editor.tabSize": 2,
"files": {
"insertFinalNewline": true,
"trimFinalNewlines": true,
"trimTrailingWhitespace": true
}
}
}
},
"dependsOn": {
"ghcr.io/devcontainers/features/common-utils:2": {
"installZsh": false,
"username": "vscode",
"userUid": 1000,
"userGid": 1000
}
},
"mounts": [
{
"source": "build-cache-${devcontainerId}",
"target": "${containerWorkspaceFolder}/_build",
"type": "volume"
},
{
"source": "dependency-cache-${devcontainerId}",
"target": "${containerWorkspaceFolder}/deps",
"type": "volume"
},
{
"source": "expert-cache-${devcontainerId}",
"target": "${containerWorkspaceFolder}/.expert",
"type": "volume"
}
],
"onCreateCommand": "CONTAINER_WORKSPACE_FOLDER=${containerWorkspaceFolder} /opt/cargosense/elixir-project/onCreateCommand.sh",
"postCreateCommand": "sudo /opt/cargosense/elixir-project/postCreateCommand.sh"
}