Azure / reliable-web-app-pattern-dotnet

The Reliable Web App Pattern is a set of objectives to help your web application converge on the cloud. This repo contains a reference implementation of a reliable web application for .NET.
https://aka.ms/eap/rwa/dotnet/doc
MIT License
356 stars 114 forks source link

Updating/work-with this template for GHA and Azd Devcontainer feature. #329

Closed zedy-wj closed 4 months ago

zedy-wj commented 1 year ago

We are updating this template to support new features in Github Action and Azd Devcontainer.

  1. For the Github Action feature: We will remove two lines of code on container image and add GHA code after checkout step in the .github/workflow/azure-dev.yml file. (Shown as below)

    image
  2. For the Azd Devcontainer feature:

"ghcr.io/azure/azure-dev/azd:latest": {}

and remove the relevant code for installing azd in devcontainer.json file.

"postCreateCommand": "curl -fsSL https://aka.ms/install-azd.sh | bash",
"build": {
    "dockerfile": "Dockerfile",
    "args": { 
        "VARIANT": "6.0-bullseye"
    }       
},

and add an image in devcontainer.json file.

"image": "mcr.microsoft.com/vscode/devcontainers/dotnet:0-6.0-bullseye",

@rajeshkamal5050 , @KSchlobohm , @nishanil for notification.

KSchlobohm commented 4 months ago

Thanks for the feedback @zedy-wj we've updated the content to support Dev Containers and a newer version of AZD in the latest PR #369.