https://github.com/swift-server/swift-devcontainer-template
Visual Studio Code Development Container for Swift
https://github.com/swift-server/swift-devcontainer-template
Last synced: 11 months ago
JSON representation
Visual Studio Code Development Container for Swift
- Host: GitHub
- URL: https://github.com/swift-server/swift-devcontainer-template
- Owner: swift-server
- License: mit
- Created: 2022-10-27T14:52:38.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2025-04-18T13:36:05.000Z (about 1 year ago)
- Last Synced: 2025-07-19T04:38:03.355Z (11 months ago)
- Language: Shell
- Size: 43 KB
- Stars: 65
- Watchers: 5
- Forks: 15
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Swift
## Summary
Develop Swift based applications. Includes everything you need to get up and running.
## Options
| Options Id | Description | Type | Default Value |
|-----|-----|-----|-----|
| imageVariant | Version of Swift | string | 6.0 |
This template uses the common-utils feature to implement some commonly implemented options including install zsh and updating packages. Edit the values in the `devcontainer.json` to enable these. More details on available options can be found [here](https://github.com/devcontainers/features/blob/main/src/common-utils/README.md).
### Adding the definition to a project or codespace
1. If this is your first time using a development container, please see getting started information on [setting up](https://aka.ms/vscode-remote/containers/getting-started) Dev Containers or [creating a codespace](https://aka.ms/ghcs-open-codespace) using GitHub Codespaces.
2. Start VS Code and open your project folder or connect to a codespace.
3. Press F1 select and **Add Dev Container Configuration Files...** command for **Dev Containers** or **Codespaces**.
> **Note:** If needed, you can drag-and-drop the `.devcontainer` folder from this sub-folder in a locally cloned copy of this repository into the VS Code file explorer instead of using the command.
4. Select this definition. You may also need to select **Show All Definitions...** for it to appear.
5. Finally, press F1 and run **Dev Containers: Reopen in Container** or **Codespaces: Rebuild Container** to start using the definition.
## License
Copyright (c) Visual Studio Code Swift extension project. All rights reserved.
Licensed under the MIT License. See [LICENSE](https://github.com/swift-server/swift-devcontainer-template/blob/main/LICENSE).