Skip to content

Commit db6aeb3

Browse files
adding to dev container.
1 parent 8eb58dc commit db6aeb3

File tree

2 files changed

+31
-0
lines changed

2 files changed

+31
-0
lines changed

.devcontainer/devcontainer.json

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,11 +59,41 @@
5959
}
6060
}
6161
},
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+
},
6287
"forwardPorts": [
6388
4000
6489
],
6590
"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+
],
6695
"name": "Jekyll",
96+
"postCreateCommand": "pipx install pre-commit && make config && echo 'export GPG_TTY=$TTY' | cat - ~/.zshrc > temp && mv temp ~/.zshrc",
6797
"runArgs": [
6898
"--platform=linux/amd64"
6999
]

.prettierignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
**/.package-lock.json

0 commit comments

Comments
 (0)