|
1 | 1 | {
|
2 |
| - "name": "swift-argument-encoding", |
3 |
| - "image": "swift:5.7", |
4 |
| - "features": { |
5 |
| - "ghcr.io/devcontainers/features/common-utils:2": { |
6 |
| - "installZsh": "false", |
7 |
| - "username": "vscode", |
8 |
| - "userUid": "1000", |
9 |
| - "userGid": "1000", |
10 |
| - "upgradePackages": "false" |
11 |
| - }, |
12 |
| - "ghcr.io/devcontainers/features/git:1": { |
13 |
| - "version": "os-provided", |
14 |
| - "ppa": "false" |
15 |
| - } |
| 2 | + "name": "swift-argument-encoding", |
| 3 | + "image": "swift:5.8", |
| 4 | + "features": { |
| 5 | + "ghcr.io/devcontainers/features/common-utils:2": { |
| 6 | + "installZsh": "false", |
| 7 | + "username": "vscode", |
| 8 | + "userUid": "1000", |
| 9 | + "userGid": "1000", |
| 10 | + "upgradePackages": "false" |
16 | 11 | },
|
17 |
| - "runArgs": [ |
18 |
| - "--cap-add=SYS_PTRACE", |
19 |
| - "--security-opt", |
20 |
| - "seccomp=unconfined" |
21 |
| - ], |
22 |
| - // Configure tool-specific properties. |
23 |
| - "customizations": { |
24 |
| - // Configure properties specific to VS Code. |
25 |
| - "vscode": { |
26 |
| - // Set *default* container specific settings.json values on container create. |
27 |
| - "settings": { |
28 |
| - "lldb.library": "/usr/lib/liblldb.so" |
29 |
| - }, |
30 |
| - // Add the IDs of extensions you want installed when the container is created. |
31 |
| - "extensions": [ |
32 |
| - "sswg.swift-lang" |
33 |
| - ] |
34 |
| - } |
35 |
| - }, |
36 |
| - // Use 'forwardPorts' to make a list of ports inside the container available locally. |
37 |
| - // "forwardPorts": [], |
| 12 | + "ghcr.io/devcontainers/features/git:1": { |
| 13 | + "version": "os-provided", |
| 14 | + "ppa": "false" |
| 15 | + } |
| 16 | + }, |
| 17 | + "runArgs": ["--cap-add=SYS_PTRACE", "--security-opt", "seccomp=unconfined"], |
| 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 | + "lldb.library": "/usr/lib/liblldb.so" |
| 25 | + }, |
| 26 | + // Add the IDs of extensions you want installed when the container is created. |
| 27 | + "extensions": ["swiftlang.swift-vscode"] |
| 28 | + } |
| 29 | + }, |
| 30 | + // Use 'forwardPorts' to make a list of ports inside the container available locally. |
| 31 | + // "forwardPorts": [], |
38 | 32 |
|
39 |
| - // Use 'postCreateCommand' to run commands after the container is created. |
40 |
| - "postCreateCommand": "swift --version", |
| 33 | + // Use 'postCreateCommand' to run commands after the container is created. |
| 34 | + "postCreateCommand": "swift --version", |
41 | 35 |
|
42 |
| - // Set `remoteUser` to `root` to connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root. |
43 |
| - "remoteUser": "vscode" |
| 36 | + // Set `remoteUser` to `root` to connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root. |
| 37 | + "remoteUser": "vscode" |
44 | 38 | }
|
0 commit comments