-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.devcontainer.json
37 lines (37 loc) · 1.04 KB
/
.devcontainer.json
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
{
"name": "Dev Container Base Test",
"build": {
"dockerfile": "Dockerfile"
},
"containerEnv": {
"HERMES_LOAD_EXTRA_PROGRAMS": "true",
"HERMES_LOAD_ALIASES": "true"
},
"mounts": [
{
// Persist the VS Code Server cache (e.g. for extensions)
"source": "dev_container_base-cache-vscode_server",
"target": "/home/ubuntu/.vscode-server",
"type": "volume"
},
{
// Persist the `${HOME}/.cache` directory
"source": "dev_container_base-cache-home_cache",
"target": "/home/ubuntu/.cache",
"type": "volume"
}
],
"postCreateCommand": "sudo curl -sSfL -o /usr/local/bin/hadolint \"https://github.com/hadolint/hadolint/releases/download/v2.12.0/hadolint-Linux-$(uname -m)\" && sudo chmod +x /usr/local/bin/hadolint",
"customizations": {
"vscode": {
"extensions": [
"asciidoctor.asciidoctor-vscode",
"exiasr.hadolint",
"ms-azuretools.vscode-docker"
],
"settings": {
"asciidoc.antora.showEnableAntoraPrompt": false
}
}
}
}