{ "name": "loafle.tekton-hub", // Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile "dockerComposeFile": "docker-compose.yaml", "service": "app", "workspaceFolder": "/workspace", "shutdownAction": "stopCompose", "features": { "ghcr.io/devcontainers/features/git:1": {}, "ghcr.io/devcontainers/features/docker-in-docker:2": {} }, // Configure tool-specific properties. "customizations": { // Configure properties specific to VS Code. "vscode": { "settings": { "terminal.integrated.defaultProfile.linux": "zsh", "terminal.integrated.profiles.linux": { "zsh": { "path": "/bin/zsh" } }, // "yaml.schemas": { // // ⚠️ Tekton은 참고용이며 완전한 스키마 아님 (자동완성 or lint는 제한적) // "https://raw.githubusercontent.com/tektoncd/catalog/main/task/task.yaml": [ // "**/tasks/**/*.yaml" // ], // "https://raw.githubusercontent.com/tektoncd/catalog/main/pipeline/pipeline.yaml": [ // "**/pipelines/**/*.yaml" // ], // "https://json.schemastore.org/kustomization.json": [ // "**/kustomization.yaml" // ] // }, // "yaml.customTags": [ // "!Ref", // "!Sub", // "!GetAtt", // "!Join", // "!If", // "!Equals", // "!Not", // "!And", // "!Or" // ], "yaml.format.enable": true, "yaml.validate": true, "editor.formatOnSave": true }, "extensions": [ "eamodio.gitlens", "esbenp.prettier-vscode", "ms-azuretools.vscode-docker", "ms-kubernetes-tools.vscode-kubernetes-tools", "redhat.vscode-tekton-pipelines", "streetsidesoftware.code-spell-checker", "tamasfe.even-better-toml" ] } }, // Use 'forwardPorts' to make a list of ports inside the container available locally. // "forwardPorts": [], // Use 'postCreateCommand' to run commands after the container is created. "postCreateCommand": "/bin/sh ./.devcontainer/postCreateCommand.sh", // Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root. // "remoteUser": "vscode" "mounts": [ "source=${localEnv:HOME}/.gitconfig,target=/home/vscode/.gitconfig,type=bind,consistency=cached", "source=${localEnv:HOME}/.config/pypoetry,target=/home/vscode/.config/pypoetry,type=bind,consistency=cached", "source=${localEnv:HOME}/.ssh/id_rsa,target=/home/vscode/.ssh/id_rsa,type=bind,consistency=cached", "source=${localEnv:HOME}/.kube/config,target=/home/vscode/.kube/config,type=bind,consistency=cached" ] }