|
| 1 | +// SPDX-FileCopyrightText: © 2025 Sebastian Davids <[email protected]> |
| 2 | +// SPDX-License-Identifier: Apache-2.0 |
| 3 | +{ |
| 4 | + "name": "sdavids.de-homepage", |
| 5 | + // https://mcr.microsoft.com/v2/devcontainers/javascript-node/tags/list |
| 6 | + "image": "mcr.microsoft.com/devcontainers/javascript-node:1.1.8-22-bookworm", |
| 7 | + "postCreateCommand": "./.devcontainer/post_create.sh", |
| 8 | + "features": { |
| 9 | + // https://github.com/devcontainers/features/pkgs/container/features%2Fdocker-outside-of-docker |
| 10 | + "ghcr.io/devcontainers/features/docker-outside-of-docker:1.6.0": {}, |
| 11 | + // https://github.com/devcontainers-extra/features/tree/main/src/apt-get-packages |
| 12 | + "ghcr.io/devcontainers-extra/features/apt-get-packages:1.0.7": { |
| 13 | + "packages": "brotli,easy-rsa,reuse,shellcheck,shfmt,yamllint,zstd" |
| 14 | + }, |
| 15 | + // https://github.com/dhoeric/features/blob/main/src/hadolint/README.md |
| 16 | + "ghcr.io/dhoeric/features/hadolint:1.0.0": { |
| 17 | + // https://github.com/hadolint/hadolint/releases |
| 18 | + "version": "2.12.0" |
| 19 | + } |
| 20 | + }, |
| 21 | + "remoteEnv": { |
| 22 | + "LOCAL_WORKSPACE_FOLDER": "${localWorkspaceFolder}" |
| 23 | + }, |
| 24 | + "customizations": { |
| 25 | + "jetbrains": { |
| 26 | + "backend": "WebStorm", |
| 27 | + "plugins": [ |
| 28 | + "ski.chrzanow.foldableprojectview", |
| 29 | + "org.asciidoctor.intellij.asciidoc", |
| 30 | + "intellij.prettierJS", |
| 31 | + "mobi.hsz.idea.gitignore", |
| 32 | + "com.github.aleksandrsl.intellijbrowserslist" |
| 33 | + ], |
| 34 | + "settings": { |
| 35 | + "com.intellij:app:EditorSettings.is_ensure_newline_at_eof": true, |
| 36 | + "com.intellij:app:EditorSettings.remove_trailing_blank_lines": true |
| 37 | + } |
| 38 | + }, |
| 39 | + "vscode": { |
| 40 | + "extensions": [ |
| 41 | + "EditorConfig.EditorConfig", |
| 42 | + "ms-azuretools.vscode-docker", |
| 43 | + "github.vscode-github-actions", |
| 44 | + "asciidoctor.asciidoctor-vscode", |
| 45 | + "dbaeumer.vscode-eslint", |
| 46 | + "esbenp.prettier-vscode", |
| 47 | + "redhat.vscode-yaml", |
| 48 | + "tamasfe.even-better-toml", |
| 49 | + "timonwong.shellcheck", |
| 50 | + "foxundermoon.shell-format", |
| 51 | + "webben.browserslist" |
| 52 | + ], |
| 53 | + "settings": { |
| 54 | + "files.encoding": "utf8", |
| 55 | + "files.eol": "\n", |
| 56 | + "files.insertFinalNewline": true, |
| 57 | + "files.trimFinalNewlines": true, |
| 58 | + "files.trimTrailingWhitespace": true, |
| 59 | + "shellformat.flag": "--indent 2 --case-indent --binary-next-line --simplify" |
| 60 | + } |
| 61 | + } |
| 62 | + } |
| 63 | +} |
0 commit comments