Skip to content

Commit d5462f2

Browse files
added dev containers (#9)
* added dev containers * dev container indents.
1 parent 41d24c2 commit d5462f2

File tree

1 file changed

+98
-18
lines changed

1 file changed

+98
-18
lines changed

.devcontainer/devcontainer.json

Lines changed: 98 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,102 @@
11
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
22
// README at: https://github.com/devcontainers/templates/tree/main/src/jekyll
33
{
4-
"name": "Jekyll",
5-
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
6-
"image": "mcr.microsoft.com/devcontainers/jekyll:2-bullseye",
7-
8-
// Features to add to the dev container. More info: https://containers.dev/features.
9-
// "features": {},
10-
11-
// Use 'forwardPorts' to make a list of ports inside the container available locally.
12-
// "forwardPorts": [],
13-
14-
// Uncomment the next line to run commands after the container is created.
15-
"postCreateCommand": "jekyll --version && cd docs && bundle install"
16-
17-
// Configure tool-specific properties.
18-
// "customizations": {},
19-
20-
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
21-
// "remoteUser": "root"
4+
"name": "Jekyll",
5+
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
6+
"image": "mcr.microsoft.com/devcontainers/jekyll:2-bullseye",
7+
// Features to add to the dev container. More info: https://containers.dev/features.
8+
// "features": {},
9+
// Use 'forwardPorts' to make a list of ports inside the container available locally.
10+
// "forwardPorts": [],
11+
// Uncomment the next line to run commands after the container is created.
12+
"postCreateCommand": "jekyll --version && cd docs && bundle install",
13+
// Configure tool-specific properties.
14+
"customizations": {
15+
"codespaces": {
16+
"openFiles": [
17+
"README.md",
18+
".github/SECURITY.md",
19+
"docs/index.md"
20+
]
21+
},
22+
"vscode": {
23+
// Set *default* container specific settings.json values on container create.
24+
"settings": {
25+
"editor.formatOnSave": true,
26+
"files.insertFinalNewline": true,
27+
"[makefile]": {
28+
"editor.insertSpaces": false,
29+
"editor.detectIndentation": false
30+
}
31+
},
32+
// Add the IDs of extensions you want installed when the container is created.
33+
"extensions": [
34+
"alefragnani.bookmarks",
35+
"davidanson.vscode-markdownlint",
36+
"dbaeumer.vscode-eslint",
37+
"donjayamanne.githistory",
38+
"eamodio.gitlens",
39+
"editorconfig.editorconfig",
40+
"esbenp.prettier-vscode",
41+
"github.codespaces",
42+
"github.github-vscode-theme",
43+
"github.remotehub",
44+
"github.vscode-github-actions",
45+
"github.vscode-pull-request-github",
46+
"hediet.vscode-drawio",
47+
"johnpapa.vscode-peacock",
48+
"mhutchie.git-graph",
49+
"ms-azuretools.vscode-docker",
50+
"ms-vscode-remote.remote-containers",
51+
"ms-vscode-remote.remote-wsl",
52+
"ms-vscode.hexeditor",
53+
"ms-vscode.live-server",
54+
"ms-vsliveshare.vsliveshare",
55+
"redhat.vscode-xml",
56+
"streetsidesoftware.code-spell-checker-british-english",
57+
"tamasfe.even-better-toml",
58+
"tomoki1207.pdf",
59+
"vscode-icons-team.vscode-icons",
60+
"vstirbu.vscode-mermaid-preview",
61+
"wayou.vscode-todo-highlight",
62+
"yzane.markdown-pdf",
63+
"yzhang.dictionary-completion",
64+
"yzhang.markdown-all-in-one"
65+
]
66+
}
67+
},
68+
"features": {
69+
"ghcr.io/devcontainers/features/aws-cli:1": {
70+
"version": "latest"
71+
},
72+
"ghcr.io/devcontainers/features/docker-in-docker:2": {
73+
"moby": true,
74+
"azureDnsAutoDetection": true,
75+
"installDockerBuildx": true,
76+
"installDockerComposeSwitch": true,
77+
"version": "latest",
78+
"dockerDashComposeVersion": "latest"
79+
},
80+
"ghcr.io/devcontainers/features/node:1": {
81+
"nodeGypDependencies": true,
82+
"version": "lts",
83+
"nvmVersion": "latest"
84+
},
85+
"ghcr.io/devcontainers/features/github-cli:1": {
86+
"installDirectlyFromGitHubRelease": true,
87+
"version": "latest"
88+
},
89+
"ghcr.io/devcontainers/features/common-utils:2": {
90+
"installZsh": true,
91+
"configureZshAsDefaultShell": true,
92+
"installOhMyZsh": true,
93+
"installOhMyZshConfig": true,
94+
"upgradePackages": true,
95+
"username": "automatic",
96+
"userUid": "automatic",
97+
"userGid": "automatic"
98+
}
99+
}
100+
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
101+
// "remoteUser": "root"
22102
}

0 commit comments

Comments
 (0)