|
1 | 1 | { |
2 | | - "customizations": { |
3 | | - "codespaces": { |
4 | | - "openFiles": [ |
5 | | - "README.md", |
6 | | - ".github/SECURITY.md", |
7 | | - "docs/index.md" |
8 | | - ] |
| 2 | + "name": "Ubuntu", |
| 3 | + "image": "mcr.microsoft.com/devcontainers/base:noble", |
| 4 | + "features": { |
| 5 | + "ghcr.io/devcontainers/features/docker-in-docker:2": { |
| 6 | + "moby": true, |
| 7 | + "azureDnsAutoDetection": true, |
| 8 | + "installDockerBuildx": true, |
| 9 | + "installDockerComposeSwitch": true, |
| 10 | + "version": "latest", |
| 11 | + "dockerDashComposeVersion": "v2" |
9 | 12 | }, |
10 | | - "vscode": { |
11 | | - "extensions": [ |
12 | | - "alefragnani.bookmarks", |
13 | | - "AmazonWebServices.aws-toolkit-vscode", |
14 | | - "chdsbd.github-code-owners", |
15 | | - "davidanson.vscode-markdownlint", |
16 | | - "dbaeumer.vscode-eslint", |
17 | | - "donjayamanne.githistory", |
18 | | - "editorconfig.editorconfig", |
19 | | - "esbenp.prettier-vscode", |
20 | | - "fvclaus.sort-json-array", |
21 | | - "github.codespaces", |
22 | | - "github.github-vscode-theme", |
23 | | - "github.remotehub", |
24 | | - "github.vscode-github-actions", |
25 | | - "github.vscode-pull-request-github", |
26 | | - "hediet.vscode-drawio", |
27 | | - "johnpapa.vscode-peacock", |
28 | | - "joshx.workspace-terminals", |
29 | | - "maattdd.gitless", |
30 | | - "mhutchie.git-graph", |
31 | | - "ms-azuretools.vscode-docker", |
32 | | - "ms-vscode-remote.remote-containers", |
33 | | - "ms-vscode-remote.remote-wsl", |
34 | | - "ms-vscode.hexeditor", |
35 | | - "ms-vscode.live-server", |
36 | | - "ms-vsliveshare.vsliveshare", |
37 | | - "redhat.vscode-xml", |
38 | | - "streetsidesoftware.code-spell-checker-british-english", |
39 | | - "takumii.markdowntable", |
40 | | - "tamasfe.even-better-toml", |
41 | | - "tomoki1207.pdf", |
42 | | - "vscode-icons-team.vscode-icons", |
43 | | - "vstirbu.vscode-mermaid-preview", |
44 | | - "wayou.vscode-todo-highlight", |
45 | | - "yzane.markdown-pdf", |
46 | | - "yzhang.dictionary-completion", |
47 | | - "yzhang.markdown-all-in-one", |
48 | | - "zoma.vscode-auto-open-workspace" |
49 | | - ], |
50 | | - "settings": { |
51 | | - "[makefile]": { |
52 | | - "editor.detectIndentation": false, |
53 | | - "editor.insertSpaces": false |
54 | | - }, |
55 | | - "autoOpenWorkspace.enableAutoOpenIfSingleWorkspace": true, |
56 | | - "editor.formatOnSave": true, |
57 | | - "extensions.ignoreRecommendations": true, |
58 | | - "files.insertFinalNewline": true |
59 | | - } |
| 13 | + "ghcr.io/devcontainers/features/go:1": {}, |
| 14 | + "ghcr.io/azutake/devcontainer-features/go-packages-install:0": { |
| 15 | + "PACKAGES": "github.com/asdf-vm/asdf/cmd/asdf@v0.18.0" |
| 16 | + }, |
| 17 | + "ghcr.io/devcontainers/features/python:1": {}, |
| 18 | + "ghcr.io/devcontainers/features/common-utils": { |
| 19 | + "installZsh": true, |
| 20 | + "installOhMyZsh": true, |
| 21 | + "installOhMyZshConfig": true, |
| 22 | + "configureZshAsDefaultShell": true |
| 23 | + }, |
| 24 | + "ghcr.io/devcontainers-extra/features/zsh-plugins:0": { |
| 25 | + "plugins": "zsh-autosuggestions zsh-syntax-highlighting", |
| 26 | + "omzPlugins": "https://github.com/zsh-users/zsh-autosuggestions.git https://github.com/zsh-users/zsh-syntax-highlighting.git" |
60 | 27 | } |
61 | 28 | }, |
62 | | - "forwardPorts": [ |
63 | | - 4000 |
64 | | - ], |
65 | | - "image": "ghcr.io/nhsdigital/nhs-notify-template-repository:latest", |
66 | | - "name": "Jekyll", |
67 | | - "runArgs": [ |
68 | | - "--platform=linux/amd64" |
| 29 | + "postCreateCommand": "pipx install pre-commit && make config && echo 'export GPG_TTY=$TTY' | cat - ~/.zshrc > temp && mv temp ~/.zshrc", |
| 30 | + "mounts": [ |
| 31 | + "source=${localEnv:HOME}/.gnupg,target=/home/vscode/.gnupg,type=bind,consistency=cached" |
69 | 32 | ] |
70 | 33 | } |
0 commit comments