Skip to content

Commit 93abc9a

Browse files
committed
Raise swift version of dev container and format dev container config
feature/update-workflow
1 parent b209b0c commit 93abc9a

File tree

1 file changed

+33
-39
lines changed

1 file changed

+33
-39
lines changed

.devcontainer/devcontainer.json

Lines changed: 33 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -1,44 +1,38 @@
11
{
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"
1611
},
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": ["sswg.swift-lang"]
28+
}
29+
},
30+
// Use 'forwardPorts' to make a list of ports inside the container available locally.
31+
// "forwardPorts": [],
3832

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",
4135

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"
4438
}

0 commit comments

Comments
 (0)