Git Product home page Git Product logo

swift-devcontainer-template's Introduction

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 5.10

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.

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 Dev Containers or creating a 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.

swift-devcontainer-template's People

Contributors

0xifarouk avatar adam-fowler avatar brandonmaul avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

swift-devcontainer-template's Issues

LICENSE

Read me includes Microsoft LICENSE, this should probably change but to what?

Updating for the new development containers specification?

Is there interest in updating this to follow with the new dev containers format(s)?

I’ve built out a feature (which you can see here: https://github.com/pvzig/swift-dev-container) and a Swift dev container image (forked here: https://github.com/pvzig/images/tree/main/src/swift). This work largely follows the patterns used by Rust and Go for their respective dev container features and images.

Example of using a feature

{
    "image": "mcr.microsoft.com/vscode/devcontainers/base:jammy",
    "features": {
        "ghcr.io/pvzig/swift-dev-container/swift:0": {}
    }
}

Or with the image:

{
    "image": "ghcr.io/pvzig/images/swift:5.6-amazonlinux2",
    "remoteUser": "vscode"
}

Both repos are configured with Github actions for pushing images to the Github Package Registry.

SSWG Publisher

Currently the publisher is "Community". Can we change this to "Swift Server Work Group" given that is the publisher for the vscode swift extension

What dev container options do we need?

Currently the dev-container have options for

  • swift image
  • install zsh
  • upgrade packages
  • NodeJS version to install
    Do we want all of these options?
    Microsoft might have some requirements for official dev-containers. It seems most of the official containers install NodeJS, but I'm not sure we need this.

Support for Swift 5.11

Hello!

Could support for Swift 5.11 be added to this repository? Currently, I can only use Swift 5.10 and would like to use Swift 5.11 in my codespace.

Thanks

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.