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