Azure / static-web-apps-cli

Azure Static Web Apps CLI ✨
https://aka.ms/swa/cli-local-development
MIT License
583 stars 111 forks source link

Create a devcontainer feature to simplify install #602

Open aaronpowell opened 1 year ago

aaronpowell commented 1 year ago

devcontainers supports a feature specification, that simplifies adding something to a devcontainer base image (and removes the need for custom base images). More info on the background and philosophy can be found here.

Presently there is a devcontainer for SWA CLI, but it might be better to ship as a feature.

https://github.com/devcontainers/feature-starter contains a starter template for creating it (and its tests).

sgollapudi77 commented 1 year ago

Sounds like a great addition to SWA_CLI @aaronpowell, we will add this to our backlog items. cc: @Reshmi-Sriram

sinedied commented 1 year ago

Presently there is a devcontainer for SWA CLI, but it might be better to ship as a feature.

Just to add a precision here, there are currently two container images including the SWA CLI:

Both these images have their use cases, and while I agree adding a devcontainer feature would be a nice addition, it won't replace any of these existing solutions but rather comes as an additional option for people using dev containers (and the SWA devcontainer should then be updated to make use of it).