-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdevcontainer.json
More file actions
73 lines (73 loc) · 2.89 KB
/
devcontainer.json
File metadata and controls
73 lines (73 loc) · 2.89 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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
{
"name": "${PROJECT_NAME}-devcontainer",
"image": "mcr.microsoft.com/devcontainers/base:ubuntu-24.04",
"features": {
"ghcr.io/devcontainers/features/docker-outside-of-docker": "latest",
// Common-utils Feature applied to base:ubuntu-24.04 already, augmenting
"ghcr.io/devcontainers/features/common-utils:2": {
"configureZshAsDefaultShell": true
},
// Python Feature can be used to add pipx packages
"ghcr.io/devcontainers/features/python:1": {
"installTools": true,
"toolsToInstall": "ansible-core<2.16,ansible-lint,ansible-navigator,vale,cookiecutter,aar-doc,"
}
},
"customizations": {
"vscode": {
"extensions": [
"chrischinchilla.vale-vscode",
"codecontemplator.kubeseal", // when Kubernetes tools are installed
"editorconfig.editorconfig",
"esbenp.prettier-vscode",
"felipecaputo.git-project-manager",
"github.copilot-chat",
"github.copilot",
"github.vscode-github-actions",
"gruntfuggly.todo-tree",
"ms-azuretools.vscode-docker",
"ms-kubernetes-tools.vscode-kubernetes-tools", // when Kubernetes tools are installed
"ms-vscode-remote.remote-containers",
"ms-vscode-remote.vscode-remote-extensionpack",
"redhat.ansible", // when Ansible tools are installed
"redhat.vscode-yaml",
"technosophos.vscode-helm", // when Kubernetes tools are installed
"vscode-icons-team.vscode-icons",
"yzhang.markdown-all-in-one"
],
"settings": {
"ansible.ansible.path": "/usr/local/py-utils/bin/ansible",
"ansible.ansibleNavigator.path": "/usr/local/py-utils/bin/ansible-navigator",
"ansible.python.interpreterPath": "/usr/local/python/current/bin/python",
"ansible.validation.lint.path": "/usr/local/py-utils/bin/ansible-lint",
"files.trimFinalNewlines": true,
"git.autofetch": true,
"git.blame.editorDecoration.enabled": true,
"git.blame.editorDecoration.template": "${authorName} (${authorDateAgo}) ${subject}",
"git.confirmSync": false,
"redhat.telemetry.enabled": false,
"telemetry.feedback.enabled": false,
"telemetry.telemetryLevel": "off",
"vale.enableSpellcheck": true,
"vscode.env.isTelemetryEnabled": false,
"workbench.iconTheme": "vscode-icons",
"editor.rulers": [
80,
160
],
"yaml.customTags": [
"!vault scalar"
]
}
}
},
"postCreateCommand": "chmod +x ${PROJECT_HOME}/.devcontainer/postCreateCommand.sh && ${PROJECT_HOME}/.devcontainer/postCreateCommand.sh",
"remoteEnv": {
"HOST_HOME": "${localEnv:HOME}",
"PROJECT_HOME": "${containerWorkspaceFolder}"
},
"mounts": [
// "source=${localEnv:HOME},target=/home/vscode/host-home,type=bind,readonly",
"source=${localEnv:HOME},target=${localEnv:HOME},type=bind,readonly"
]
}