Skip to content

Commit efa10c9

Browse files
committed
update devcontainer.json
1 parent 7c4d8a4 commit efa10c9

1 file changed

Lines changed: 29 additions & 29 deletions

File tree

.devcontainer/devcontainer.json

Lines changed: 29 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,30 @@
11
{
2-
"name": "Hugo (InnerSource Commons Website)",
3-
"image": "mcr.microsoft.com/devcontainers/base:ubuntu",
4-
"features": {
5-
"ghcr.io/devcontainers/features/git:1": {},
6-
"ghcr.io/devcontainers/features/node:1": {
7-
"version": "lts"
8-
}
9-
},
10-
"customizations": {
11-
"vscode": {
12-
"extensions": [
13-
"bungcip.better-toml",
14-
"davidanson.vscode-markdownlint",
15-
"esbenp.prettier-vscode",
16-
"ms-vscode.live-server",
17-
"tamasfe.even-better-toml",
18-
"ms-vscode.js-debug-nightly"
19-
],
20-
"settings": {
21-
"editor.formatOnSave": true,
22-
"editor.defaultFormatter": "esbenp.prettier-vscode",
23-
"debug.javascript.autoAttachFilter": "smart"
24-
}
25-
}
26-
},
27-
"forwardPorts": [1313],
28-
"remoteUser": "vscode",
29-
"postCreateCommand": "cd /tmp && wget -O hugo.deb https://github.com/gohugoio/hugo/releases/download/v0.133.1/hugo_extended_0.133.1_linux-amd64.deb && sudo dpkg -i hugo.deb && rm hugo.deb && npm init -y && npm install hugo-bin@latest && hugo version && echo 'Hugo server ready to run! Use the Run and Debug view to start the server.'"
30-
}
2+
"name": "Hugo (InnerSource Commons Website)",
3+
"image": "mcr.microsoft.com/devcontainers/base:ubuntu",
4+
"features": {
5+
"ghcr.io/devcontainers/features/git:1": {},
6+
"ghcr.io/devcontainers/features/node:1": {
7+
"version": "lts"
8+
}
9+
},
10+
"customizations": {
11+
"vscode": {
12+
"extensions": [
13+
"bungcip.better-toml",
14+
"davidanson.vscode-markdownlint",
15+
"esbenp.prettier-vscode",
16+
"ms-vscode.live-server",
17+
"tamasfe.even-better-toml",
18+
"ms-vscode.js-debug-nightly"
19+
],
20+
"settings": {
21+
"editor.formatOnSave": true,
22+
"editor.defaultFormatter": "esbenp.prettier-vscode",
23+
"debug.javascript.autoAttachFilter": "smart"
24+
}
25+
}
26+
},
27+
"forwardPorts": [1313],
28+
"remoteUser": "vscode",
29+
"postCreateCommand": "npm install; cd /tmp && wget -O hugo.deb https://github.com/gohugoio/hugo/releases/download/v0.133.1/hugo_extended_0.133.1_linux-amd64.deb && sudo dpkg -i hugo.deb && rm hugo.deb && npm init -y && npm install hugo-bin@latest && hugo version && echo 'Hugo server ready to run! Use the Run and Debug view to start the server.'"
30+
}

0 commit comments

Comments
 (0)