|
| 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/debian |
| 3 | +{ |
| 4 | + "name": "development-environment", |
| 5 | + // Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile |
| 6 | + "image": "mcr.microsoft.com/devcontainers/base:bookworm", |
| 7 | + |
| 8 | + "features": { |
| 9 | + "ghcr.io/devcontainers/features/ruby:1": { |
| 10 | + "version": "3.1" |
| 11 | + }, |
| 12 | + "ghcr.io/devcontainers/features/common-utils:2": { |
| 13 | + "installZsh": true, |
| 14 | + "configureZshAsDefaultShell": true, |
| 15 | + "installOhMyZsh": true |
| 16 | + }, |
| 17 | + "ghcr.io/devcontainers/features/docker-in-docker:2": {}, |
| 18 | + "ghcr.io/devcontainers/features/github-cli:1": {}, |
| 19 | + "ghcr.io/devcontainers-contrib/features/apt-get-packages:1": { |
| 20 | + "packages": "fzf grc shellcheck shfmt zoxide" |
| 21 | + }, |
| 22 | + "ghcr.io/devcontainers-contrib/features/fd:1": {}, |
| 23 | + "ghcr.io/devcontainers-contrib/features/ripgrep:1": {}, |
| 24 | + "ghcr.io/devcontainers-contrib/features/starship:1": {}, |
| 25 | + "ghcr.io/devcontainers-contrib/features/zsh-plugins:0": { |
| 26 | + "plugins": "dirhistory docker fd fzf git-escape-magic gh git grc ripgrep starship sudo zoxide zsh-autosuggestions zsh-syntax-highlighting", |
| 27 | + "omzPlugins": "https://github.com/zsh-users/zsh-autosuggestions https://github.com/zsh-users/zsh-syntax-highlighting.git" |
| 28 | + } |
| 29 | + }, |
| 30 | + |
| 31 | + "customizations": { |
| 32 | + "vscode": { |
| 33 | + "extensions": [ |
| 34 | + "DavidAnson.vscode-markdownlint", |
| 35 | + "donjayamanne.githistory", |
| 36 | + "EditorConfig.EditorConfig", |
| 37 | + "github.vscode-github-actions", |
| 38 | + "GitHub.vscode-pull-request-github", |
| 39 | + "ldez.ignore-files", |
| 40 | + "me-dutour-mathieu.vscode-github-actions", |
| 41 | + "oderwat.indent-rainbow", |
| 42 | + "streetsidesoftware.code-spell-checker", |
| 43 | + "marcostazi.VS-code-vagrantfile", |
| 44 | + "ginfuru.ginfuru-vscode-jekyll-syntax", |
| 45 | + "timonwong.shellcheck", |
| 46 | + "foxundermoon.shell-format" |
| 47 | + ] |
| 48 | + } |
| 49 | + }, |
| 50 | + |
| 51 | + "remoteEnv": { |
| 52 | + "PATH": "/home/vscode/.local/bin:${containerEnv:PATH}" |
| 53 | + }, |
| 54 | + |
| 55 | + |
| 56 | + // Use 'forwardPorts' to make a list of ports inside the container available locally. |
| 57 | + "forwardPorts": [4000] |
| 58 | + |
| 59 | + // Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root. |
| 60 | + // "remoteUser": "root" |
| 61 | +} |
0 commit comments