forked from samueldc/vscode-perl-dev-container-otrs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
devcontainer.json
executable file
·86 lines (80 loc) · 2.76 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
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
74
75
76
77
78
79
80
81
82
83
84
85
86
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
// README at: https://github.com/devcontainers/templates/tree/main/src/debian
{
"build": { "dockerfile": "Dockerfile" },
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
// Features to add to the dev container. More info: https://containers.dev/features.
// "features": {},
"features": {
"ghcr.io/devcontainers/features/git:1": {},
"ghcr.io/devcontainers/features/docker-in-docker:2": {
"disableIp6tables": "true",
"dockerDefaultAddressPool": "base=10.20.0.0/16,size=24",
"version": "26"
},
"ghcr.io/devcontainers/features/common-utils:2": {
"installZsh": "true",
"installOhMyZsh": "true",
"installOhMyZshConfig": "true",
// "username": "vscode",
// "userUid": "1000",
// "userGid": "1000",
"upgradePackages": "true"
},
"ghcr.io/devcontainers/features/kubectl-helm-minikube:1": {},
"ghcr.io/gickis/devcontainer-features/kubeseal:1": {}
},
// Configure tool-specific properties.
// "customizations": {},
"customizations": {
"vscode": {
"extensions": [
"richterger.perl",
"donjayamanne.githistory",
"dracula-theme.theme-dracula",
"entuent.fira-code-nerd-font",
"PKief.material-icon-theme"
// "ms-azuretools.vscode-docker"
],
"settings": {
"files.associations": {
"*.sopm": "xml"
},
"workbench.iconTheme": "material-icon-theme",
"editor.tabSize": 2,
"editor.rulers": [
80,
120
],
"files.eol": "\n",
"perl.perlInc": [
"${containerWorkspaceFolder}/Custom",
"${containerWorkspaceFolder}",
"${containerWorkspaceFolder}/Kernel/cpan-lib"
],
"perl.containerMode": "exec",
"perl.containerName": "teste-httpd-1",
"workbench.colorTheme": "Dracula Theme",
"editor.fontFamily": "fira-code-nerd, FiraCode Nerd Font, 'Courier New', monospace",
"editor.fontLigatures": true,
"editor.fontSize": 12,
"terminal.integrated.fontSize": 12
}
}
},
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
"remoteUser": "vscode",
// Mounts
"mounts": [
// "type=bind,source=${localWorkspaceFolder},target=${containerWorkspaceFolder}",
"type=bind,source=/home/${localEnv:USER}/.ssh,target=/home/vscode/.ssh,readonly",
// "type=bind,source=/home/${localEnv:USER}/.vscode-remote-containers/history,target=/home/vscode/.bash",
"type=volume,source=${localWorkspaceFolderBasename}-history,target=/home/vscode/.bash"
],
"postCreateCommand": [
"bash", ".devcontainer/postCreateCommand.sh"
],
// Use 'forwardPorts' to make a list of ports inside the container available locally.
// "forwardPorts": [],
"forwardPorts": [3000, 8080, 8089]
}