|
8 | 8 | // License-Filename: LICENSE |
9 | 9 |
|
10 | 10 | { |
11 | | - "name": "SW360 Frontend", |
12 | | - "build": { |
13 | | - "dockerfile": "Dockerfile", |
14 | | - "args": { |
15 | | - "VARIANT": "20-bullseye-slim" |
16 | | - } |
17 | | - }, |
18 | | - // Configure tool-specific properties. |
19 | | - "customizations": { |
20 | | - // Configure properties specific to VS Code. |
21 | | - "vscode": { |
22 | | - // Set *default* container specific settings.json values on container create. |
23 | | - "settings": { |
24 | | - "html.format.templating": true, |
25 | | - "emmet.includeLanguages": { |
26 | | - "javascript": "javascriptreact" |
27 | | - }, |
28 | | - "[javascript]": { |
29 | | - "editor.defaultFormatter": "esbenp.prettier-vscode" |
30 | | - }, |
31 | | - "[scss]": { |
32 | | - "editor.defaultFormatter": "esbenp.prettier-vscode" |
33 | | - }, |
34 | | - "[json]": { |
35 | | - "editor.defaultFormatter": "esbenp.prettier-vscode" |
36 | | - }, |
37 | | - "[jsonc]": { |
38 | | - "editor.defaultFormatter": "esbenp.prettier-vscode" |
39 | | - }, |
40 | | - "editor.formatOnSave": true, |
41 | | - "eslint.alwaysShowStatus": true, |
42 | | - "indentRainbow.colorOnWhiteSpaceOnly": true |
43 | | - }, |
44 | | - // Add the IDs of extensions you want installed when the container is created. |
45 | | - "extensions": [ |
46 | | - "aaron-bond.better-comments", |
47 | | - "davidanson.vscode-markdownlint", |
48 | | - "dbaeumer.vscode-eslint", |
49 | | - "esbenp.prettier-vscode", |
50 | | - "formulahendry.auto-close-tag", |
51 | | - "formulahendry.auto-rename-tag", |
52 | | - "naumovs.color-highlight", |
53 | | - "oderwat.indent-rainbow", |
54 | | - "shardulm94.trailing-spaces", |
55 | | - "VisualStudioExptTeam.vscodeintellicode", |
56 | | - "ms-azuretools.vscode-docker", |
57 | | - "github.vscode-github-actions" |
58 | | - ] |
59 | | - } |
60 | | - }, |
61 | | - // Use 'forwardPorts' to make a list of ports inside the container available locally. |
62 | | - "forwardPorts": [3000, 9229], |
63 | | - // Use 'postCreateCommand' to run commands after the container is created. |
64 | | - "postCreateCommand": ".devcontainer/scripts/postCreateCommand.sh", |
65 | | - // Set `remoteUser` to `root` to connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root. |
66 | | - "remoteUser": "devel" |
| 11 | + "name": "SW360 Frontend", |
| 12 | + "build": { |
| 13 | + "dockerfile": "Dockerfile", |
| 14 | + "args": { |
| 15 | + "VARIANT": "22-slim" |
| 16 | + } |
| 17 | + }, |
| 18 | + // Configure tool-specific properties. |
| 19 | + "customizations": { |
| 20 | + // Configure properties specific to VS Code. |
| 21 | + "vscode": { |
| 22 | + // Set *default* container specific settings.json values on container create. |
| 23 | + "settings": { |
| 24 | + "html.format.templating": true, |
| 25 | + "emmet.includeLanguages": { |
| 26 | + "javascript": "javascriptreact" |
| 27 | + }, |
| 28 | + "[javascript]": { |
| 29 | + "editor.defaultFormatter": "esbenp.prettier-vscode" |
| 30 | + }, |
| 31 | + "[scss]": { |
| 32 | + "editor.defaultFormatter": "esbenp.prettier-vscode" |
| 33 | + }, |
| 34 | + "[json]": { |
| 35 | + "editor.defaultFormatter": "esbenp.prettier-vscode" |
| 36 | + }, |
| 37 | + "[jsonc]": { |
| 38 | + "editor.defaultFormatter": "esbenp.prettier-vscode" |
| 39 | + }, |
| 40 | + "editor.formatOnSave": true, |
| 41 | + "eslint.alwaysShowStatus": true, |
| 42 | + "indentRainbow.colorOnWhiteSpaceOnly": true |
| 43 | + }, |
| 44 | + // Add the IDs of extensions you want installed when the container is created. |
| 45 | + "extensions": [ |
| 46 | + "aaron-bond.better-comments", |
| 47 | + "davidanson.vscode-markdownlint", |
| 48 | + "dbaeumer.vscode-eslint", |
| 49 | + "esbenp.prettier-vscode", |
| 50 | + "formulahendry.auto-close-tag", |
| 51 | + "formulahendry.auto-rename-tag", |
| 52 | + "naumovs.color-highlight", |
| 53 | + "oderwat.indent-rainbow", |
| 54 | + "shardulm94.trailing-spaces", |
| 55 | + "VisualStudioExptTeam.vscodeintellicode", |
| 56 | + "ms-azuretools.vscode-docker", |
| 57 | + "github.vscode-github-actions" |
| 58 | + ] |
| 59 | + } |
| 60 | + }, |
| 61 | + // Use 'forwardPorts' to make a list of ports inside the container available locally. |
| 62 | + "forwardPorts": [3000, 9229], |
| 63 | + // Use 'postCreateCommand' to run commands after the container is created. |
| 64 | + "postCreateCommand": ".devcontainer/scripts/postCreateCommand.sh", |
| 65 | + // Set `remoteUser` to `root` to connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root. |
| 66 | + "remoteUser": "devel" |
67 | 67 | } |
0 commit comments