// For format details, see https://aka.ms/vscode-remote/devcontainer.json or this file's README at: // https://github.com/microsoft/vscode-dev-containers/tree/v0.137.0/containers/go { "name": "data_migration_tools client", "dockerComposeFile": ["./docker-compose.yml"], "service": "client", // コンテナを自動停止させない "shutdownAction": "none", "workspaceFolder": "/app/data_migration_tools/client", "runArgs": ["--cap-add=SYS_PTRACE", "--security-opt", "seccomp=unconfined"], // Set *default* container specific settings.json values on container create. "settings": { "terminal.integrated.shell.linux": "/bin/bash", "editor.codeActionsOnSave": { "source.fixAll.eslint": true, // eslint "source.fixAll.stylelint": true // Stylelint }, // formatter "editor.defaultFormatter": "esbenp.prettier-vscode", // デフォルトフォーマッターをPrettier "editor.formatOnSave": true, "editor.formatOnPaste": true, "editor.formatOnType": true, "editor.renderWhitespace": "all", "editor.insertSpaces": false, "editor.renderLineHighlight": "all" }, // Add the IDs of extensions you want installed when the container is created. "extensions": [ "dbaeumer.vscode-eslint", "salbert.comment-ts", "gruntfuggly.todo-tree", "esbenp.prettier-vscode", "ms-vsliveshare.vsliveshare", "albymor.increment-selection", "eamodio.gitlens", "wmaurer.change-case" ], // Use 'postCreateCommand' to run commands after the container is created. // "postCreateCommand": "yarn install", "postCreateCommand": "sudo npm install @openapitools/openapi-generator-cli -g && sudo chown -R vscode:vscode /app/data_migration_tools/client", // Uncomment to connect as a non-root user. See https://aka.ms/vscode-remote/containers/non-root. "remoteUser": "vscode" }