|
| 1 | +// For format details, see https://aka.ms/devcontainer.json. For config options, see the |
| 2 | +// README at: https://github.com/devcontainers/templates/tree/main/src/jekyll |
| 3 | +{ |
| 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": "zsh scripts/devcontainer/postcreatecommand.sh", |
| 13 | + "postStartCommand": "zsh scripts/devcontainer/poststartcommand.sh", |
| 14 | + "forwardPorts": [4000], |
| 15 | + // Configure tool-specific properties. |
| 16 | + "customizations": { |
| 17 | + "codespaces": { |
| 18 | + "openFiles": [ |
| 19 | + "README.md", |
| 20 | + ".github/SECURITY.md", |
| 21 | + "docs/index.md" |
| 22 | + ] |
| 23 | + }, |
| 24 | + "vscode": { |
| 25 | + // Set *default* container specific settings.json values on container create. |
| 26 | + "settings": { |
| 27 | + "editor.formatOnSave": true, |
| 28 | + "files.insertFinalNewline": true, |
| 29 | + "[makefile]": { |
| 30 | + "editor.insertSpaces": false, |
| 31 | + "editor.detectIndentation": false |
| 32 | + } |
| 33 | + }, |
| 34 | + // Add the IDs of extensions you want installed when the container is created. |
| 35 | + "extensions": [ |
| 36 | + "alefragnani.bookmarks", |
| 37 | + "davidanson.vscode-markdownlint", |
| 38 | + "dbaeumer.vscode-eslint", |
| 39 | + "donjayamanne.githistory", |
| 40 | + "eamodio.gitlens", |
| 41 | + "editorconfig.editorconfig", |
| 42 | + "esbenp.prettier-vscode", |
| 43 | + "github.codespaces", |
| 44 | + "github.github-vscode-theme", |
| 45 | + "github.remotehub", |
| 46 | + "github.vscode-github-actions", |
| 47 | + "github.vscode-pull-request-github", |
| 48 | + "hediet.vscode-drawio", |
| 49 | + "johnpapa.vscode-peacock", |
| 50 | + "mhutchie.git-graph", |
| 51 | + "ms-azuretools.vscode-docker", |
| 52 | + "ms-vscode-remote.remote-containers", |
| 53 | + "ms-vscode-remote.remote-wsl", |
| 54 | + "ms-vscode.hexeditor", |
| 55 | + "ms-vscode.live-server", |
| 56 | + "ms-vsliveshare.vsliveshare", |
| 57 | + "redhat.vscode-xml", |
| 58 | + "streetsidesoftware.code-spell-checker-british-english", |
| 59 | + "tamasfe.even-better-toml", |
| 60 | + "tomoki1207.pdf", |
| 61 | + "vscode-icons-team.vscode-icons", |
| 62 | + "vstirbu.vscode-mermaid-preview", |
| 63 | + "wayou.vscode-todo-highlight", |
| 64 | + "yzane.markdown-pdf", |
| 65 | + "yzhang.dictionary-completion", |
| 66 | + "yzhang.markdown-all-in-one" |
| 67 | + ] |
| 68 | + } |
| 69 | + }, |
| 70 | + "features": { |
| 71 | + "ghcr.io/devcontainers/features/aws-cli:1": { |
| 72 | + "version": "latest" |
| 73 | + }, |
| 74 | + "ghcr.io/devcontainers/features/docker-in-docker:2": { |
| 75 | + "moby": true, |
| 76 | + "azureDnsAutoDetection": true, |
| 77 | + "installDockerBuildx": true, |
| 78 | + "installDockerComposeSwitch": true, |
| 79 | + "version": "latest", |
| 80 | + "dockerDashComposeVersion": "latest" |
| 81 | + }, |
| 82 | + "ghcr.io/devcontainers/features/node:1": { |
| 83 | + "nodeGypDependencies": true, |
| 84 | + "version": "lts", |
| 85 | + "nvmVersion": "latest" |
| 86 | + }, |
| 87 | + "ghcr.io/devcontainers/features/github-cli:1": { |
| 88 | + "installDirectlyFromGitHubRelease": true, |
| 89 | + "version": "latest" |
| 90 | + }, |
| 91 | + "ghcr.io/devcontainers/features/common-utils:2": { |
| 92 | + "installZsh": true, |
| 93 | + "configureZshAsDefaultShell": true, |
| 94 | + "installOhMyZsh": true, |
| 95 | + "installOhMyZshConfig": true, |
| 96 | + "upgradePackages": true, |
| 97 | + "username": "automatic", |
| 98 | + "userUid": "automatic", |
| 99 | + "userGid": "automatic" |
| 100 | + } |
| 101 | + } |
| 102 | + // Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root. |
| 103 | + // "remoteUser": "root" |
| 104 | +} |
0 commit comments