|
59 | 59 | } |
60 | 60 | } |
61 | 61 | }, |
| 62 | + "features": { |
| 63 | + "ghcr.io/azutake/devcontainer-features/go-packages-install:0": { |
| 64 | + "PACKAGES": "github.com/asdf-vm/asdf/cmd/[email protected]" |
| 65 | + }, |
| 66 | + "ghcr.io/devcontainers-extra/features/zsh-plugins:0": { |
| 67 | + "omzPlugins": "https://github.com/zsh-users/zsh-autosuggestions.git https://github.com/zsh-users/zsh-syntax-highlighting.git", |
| 68 | + "plugins": "zsh-autosuggestions zsh-syntax-highlighting" |
| 69 | + }, |
| 70 | + "ghcr.io/devcontainers/features/common-utils": { |
| 71 | + "configureZshAsDefaultShell": true, |
| 72 | + "installOhMyZsh": true, |
| 73 | + "installOhMyZshConfig": true, |
| 74 | + "installZsh": true |
| 75 | + }, |
| 76 | + "ghcr.io/devcontainers/features/docker-in-docker:2": { |
| 77 | + "azureDnsAutoDetection": true, |
| 78 | + "dockerDashComposeVersion": "v2", |
| 79 | + "installDockerBuildx": true, |
| 80 | + "installDockerComposeSwitch": true, |
| 81 | + "moby": true, |
| 82 | + "version": "latest" |
| 83 | + }, |
| 84 | + "ghcr.io/devcontainers/features/go:1": {}, |
| 85 | + "ghcr.io/devcontainers/features/python:1": {} |
| 86 | + }, |
62 | 87 | "forwardPorts": [ |
63 | 88 | 4000 |
64 | 89 | ], |
65 | 90 | "image": "ghcr.io/nhsdigital/nhs-notify-template-repository:latest", |
| 91 | + "mounts": [ |
| 92 | + "source=${localEnv:HOME}/.gnupg,target=/home/vscode/.gnupg,type=bind,consistency=cached", |
| 93 | + "source=${localEnv:HOME}/.ssh,target=/home/vscode/.ssh,type=bind,consistency=cached" |
| 94 | + ], |
66 | 95 | "name": "Jekyll", |
| 96 | + "postCreateCommand": "pipx install pre-commit && make config && echo 'export GPG_TTY=$TTY' | cat - ~/.zshrc > temp && mv temp ~/.zshrc", |
67 | 97 | "runArgs": [ |
68 | 98 | "--platform=linux/amd64" |
69 | 99 | ] |
|
0 commit comments