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