Files
AzooKeyKanaKanjiConverter/.devcontainer/devcontainer.json
Kawahara Shotaro 107796f13e Add devcontainer.json for Swift development and daily update schedule for devcontainers package ecosystem (#55)
* Add devcontainer.json for Swift development

* Add daily update schedule for devcontainers package ecosystem

* Add Dev Container setup for Swift development

* Add Swift Build and Test workflow in DevContainer

* Fix typo in devcontainer.md

* Add Docker installation step for macOS

* Update Docker installation command in macOS workflow

* Update Docker.app path in macOS workflow

* Add docker buildx version check

* Update devcontainer.md with instructions for setting up the development environment

* Refactor GitHub workflow for Swift in DevContainer

* Fix typo in devcontainer.md

* Add installation instructions for Dev Containers extension

* Add Dev Container instructions

* Remove unnecessary command installation

* Add link to development guide
2024-03-18 01:04:19 +09:00

45 lines
1.4 KiB
JSON

{
"name": "Swift",
"image": "swift:5.9",
"features": {
"ghcr.io/devcontainers/features/common-utils:2": {
"installZsh": "false",
"username": "vscode",
"userUid": "1000",
"userGid": "1000",
"upgradePackages": "false"
},
"ghcr.io/devcontainers/features/git:1": {
"version": "os-provided",
"ppa": "false"
}
},
"runArgs": [
"--cap-add=SYS_PTRACE",
"--security-opt",
"seccomp=unconfined"
],
// Configure tool-specific properties.
"customizations": {
// Configure properties specific to VS Code.
"vscode": {
// Set *default* container specific settings.json values on container create.
"settings": {
"lldb.library": "/usr/lib/liblldb.so"
},
// Add the IDs of extensions you want installed when the container is created.
"extensions": [
"sswg.swift-lang"
]
}
},
// Use 'forwardPorts' to make a list of ports inside the container available locally.
// "forwardPorts": [],
// Use 'postCreateCommand' to run commands after the container is created.
"postCreateCommand": "swift --version",
// Set `remoteUser` to `root` to connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root.
"remoteUser": "vscode"
}