|
| 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/ubuntu |
| 3 | +{ |
| 4 | + "name": "Ubuntu", |
| 5 | + // Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile |
| 6 | + "build": { |
| 7 | + "dockerfile": "Dockerfile", |
| 8 | + "context": "..", |
| 9 | + "args": {} |
| 10 | + }, |
| 11 | + "mounts": [ |
| 12 | + "source=${env:HOME}${env:USERPROFILE}/.aws,target=/home/vscode/.aws,type=bind", |
| 13 | + "source=${env:HOME}${env:USERPROFILE}/.ssh,target=/home/vscode/.ssh,type=bind", |
| 14 | + "source=${env:HOME}${env:USERPROFILE}/.gnupg,target=/home/vscode/.gnupg,type=bind", |
| 15 | + "source=${env:HOME}${env:USERPROFILE}/.npmrc,target=/home/vscode/.npmrc,type=bind" |
| 16 | + ], |
| 17 | + "features": { |
| 18 | + "ghcr.io/devcontainers/features/docker-outside-of-docker:1": { |
| 19 | + "version": "latest", |
| 20 | + "moby": "true", |
| 21 | + "installDockerBuildx": "true" |
| 22 | + } |
| 23 | + }, |
| 24 | + "remoteEnv": { "LOCAL_WORKSPACE_FOLDER": "${localWorkspaceFolder}/" }, |
| 25 | + "customizations": { |
| 26 | + "vscode": { |
| 27 | + "extensions": [ |
| 28 | + "AmazonWebServices.aws-toolkit-vscode", |
| 29 | + "redhat.vscode-yaml", |
| 30 | + "ms-python.python", |
| 31 | + "ms-python.flake8", |
| 32 | + "eamodio.gitlens", |
| 33 | + "github.vscode-pull-request-github", |
| 34 | + "orta.vscode-jest", |
| 35 | + "42crunch.vscode-openapi", |
| 36 | + "mermade.openapi-lint", |
| 37 | + "dbaeumer.vscode-eslint", |
| 38 | + "christian-kohler.npm-intellisense", |
| 39 | + "dbaeumer.vscode-eslint", |
| 40 | + "lfm.vscode-makefile-term", |
| 41 | + "GrapeCity.gc-excelviewer", |
| 42 | + "redhat.vscode-xml", |
| 43 | + "streetsidesoftware.code-spell-checker", |
| 44 | + "timonwong.shellcheck", |
| 45 | + "mkhl.direnv", |
| 46 | + "github.vscode-github-actions" |
| 47 | + ], |
| 48 | + "settings": { |
| 49 | + "python.defaultInterpreterPath": "/workspaces/eps-assist-me/.venv/bin/python", |
| 50 | + "python.analysis.autoSearchPaths": true, |
| 51 | + "python.analysis.extraPaths": [], |
| 52 | + "python.testing.unittestEnabled": false, |
| 53 | + "python.testing.pytestEnabled": true, |
| 54 | + "python.linting.pylintEnabled": false, |
| 55 | + "python.linting.flake8Enabled": true, |
| 56 | + "python.linting.enabled": true, // required to format on save |
| 57 | + "editor.defaultFormatter": "dbaeumer.vscode-eslint", |
| 58 | + "editor.formatOnPaste": false, // required |
| 59 | + "editor.formatOnType": false, // required |
| 60 | + "editor.formatOnSave": true, // optional |
| 61 | + "editor.formatOnSaveMode": "file", |
| 62 | + "cSpell.words": ["fhir", "Formik", "pino", "serialisation"], |
| 63 | + "eslint.useFlatConfig": true, |
| 64 | + "eslint.format.enable": true |
| 65 | + } |
| 66 | + } |
| 67 | + }, |
| 68 | + "postCreateCommand": "rm -f ~/.docker/config.json; git config --global --add safe.directory /workspaces/eps-assist-me; make install; direnv allow ." |
| 69 | + // "features": {}, |
| 70 | + // Use 'forwardPorts' to make a list of ports inside the container available locally. |
| 71 | + // "forwardPorts": [], |
| 72 | + // Use 'postCreateCommand' to run commands after the container is created. |
| 73 | + // "postCreateCommand": "" |
| 74 | + // Configure tool-specific properties. |
| 75 | + // "customizations": {}, |
| 76 | + // Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root. |
| 77 | + // "remoteUser": "root" |
| 78 | +} |
0 commit comments