|
8 | 8 | // Update the VARIANT arg to pick a version of Go: 1, 1.16, 1.17
|
9 | 9 | // Append -bullseye or -buster to pin to an OS version.
|
10 | 10 | // Use -bullseye variants on local arm64/Apple Silicon.
|
11 |
| - "VARIANT": "1.19-bullseye", |
| 11 | + "VARIANT": "1.20-bullseye", |
12 | 12 |
|
13 | 13 | // Options:
|
14 |
| - |
15 | 14 | "POSH_THEME": "/workspaces/oh-my-posh/themes/jandedobbeleer.omp.json",
|
16 | 15 |
|
17 | 16 | // Override me with your own timezone:
|
|
26 | 25 | },
|
27 | 26 | "runArgs": ["--cap-add=SYS_PTRACE", "--security-opt", "seccomp=unconfined"],
|
28 | 27 |
|
29 |
| - // Set *default* container specific settings.json values on container create. |
30 |
| - "settings": { |
31 |
| - "go.toolsManagement.checkForUpdates": "local", |
32 |
| - "go.useLanguageServer": true, |
33 |
| - "go.gopath": "/go", |
34 |
| - "go.goroot": "/usr/local/go", |
35 |
| - "terminal.integrated.profiles.linux": { |
36 |
| - "bash": { |
37 |
| - "path": "bash" |
38 |
| - }, |
39 |
| - "zsh": { |
40 |
| - "path": "zsh" |
41 |
| - }, |
42 |
| - "fish": { |
43 |
| - "path": "fish" |
| 28 | + "customizations": { |
| 29 | + "vscode": { |
| 30 | + "settings": { |
| 31 | + "go.toolsManagement.checkForUpdates": "local", |
| 32 | + "go.useLanguageServer": true, |
| 33 | + "go.gopath": "/go", |
| 34 | + "go.goroot": "/usr/local/go", |
| 35 | + "terminal.integrated.profiles.linux": { |
| 36 | + "bash": { |
| 37 | + "path": "bash" |
| 38 | + }, |
| 39 | + "zsh": { |
| 40 | + "path": "zsh" |
| 41 | + }, |
| 42 | + "fish": { |
| 43 | + "path": "fish" |
| 44 | + }, |
| 45 | + "tmux": { |
| 46 | + "path": "tmux", |
| 47 | + "icon": "terminal-tmux" |
| 48 | + }, |
| 49 | + "pwsh": { |
| 50 | + "path": "pwsh", |
| 51 | + "icon": "terminal-powershell" |
| 52 | + } |
| 53 | + }, |
| 54 | + "terminal.integrated.defaultProfile.linux": "pwsh", |
| 55 | + "terminal.integrated.defaultProfile.windows": "pwsh", |
| 56 | + "terminal.integrated.defaultProfile.osx": "pwsh", |
| 57 | + "tasks.statusbar.default.hide": true |
44 | 58 | },
|
45 |
| - "tmux": { |
46 |
| - "path": "tmux", |
47 |
| - "icon": "terminal-tmux" |
48 |
| - }, |
49 |
| - "pwsh": { |
50 |
| - "path": "pwsh", |
51 |
| - "icon": "terminal-powershell" |
52 |
| - } |
53 |
| - }, |
54 |
| - "terminal.integrated.defaultProfile.linux": "pwsh", |
55 |
| - "terminal.integrated.defaultProfile.windows": "pwsh", |
56 |
| - "terminal.integrated.defaultProfile.osx": "pwsh", |
57 |
| - "tasks.statusbar.default.hide": true |
| 59 | + "extensions": [ |
| 60 | + "actboy168.tasks", |
| 61 | + "eamodio.gitlens", |
| 62 | + "bungcip.better-toml", |
| 63 | + "davidanson.vscode-markdownlint", |
| 64 | + "editorconfig.editorconfig", |
| 65 | + "esbenp.prettier-vscode", |
| 66 | + "github.vscode-pull-request-github", |
| 67 | + "golang.go", |
| 68 | + "ms-vscode.powershell", |
| 69 | + "redhat.vscode-yaml", |
| 70 | + "yzhang.markdown-all-in-one", |
| 71 | + "ms-azuretools.vscode-azurefunctions" |
| 72 | + ] |
| 73 | + } |
58 | 74 | },
|
59 |
| - |
60 |
| - // Add the IDs of extensions you want installed when the container is created. |
61 |
| - "extensions": [ |
62 |
| - "actboy168.tasks", |
63 |
| - "eamodio.gitlens", |
64 |
| - "bungcip.better-toml", |
65 |
| - "davidanson.vscode-markdownlint", |
66 |
| - "editorconfig.editorconfig", |
67 |
| - "esbenp.prettier-vscode", |
68 |
| - "github.vscode-pull-request-github", |
69 |
| - "golang.go", |
70 |
| - "ms-vscode.powershell", |
71 |
| - "redhat.vscode-yaml", |
72 |
| - "yzhang.markdown-all-in-one", |
73 |
| - "ms-azuretools.vscode-azurefunctions" |
74 |
| -], |
75 |
| - |
76 |
| - // Use 'forwardPorts' to make a list of ports inside the container available locally. |
77 |
| - // "forwardPorts": [3000], |
78 |
| - |
79 |
| - // Use 'postCreateCommand' to run commands after the container is created. |
80 |
| - // "postCreateCommand": "go version", |
81 |
| - |
82 | 75 | // Comment out connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root.
|
83 | 76 | "remoteUser": "vscode"
|
84 | 77 | }
|
0 commit comments