Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
zedy-wj opened this issue Jul 28, 2023 · 1 comment
Closed
Assignees

Comments

@zedy-wj
Copy link
Member

zedy-wj commented Jul 28, 2023

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
  1. For the Azd Devcontainer feature:
  • Add the following code in devcontainer.json file.
"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",
  • Remove the relevant code for build Dockerfile in devcontainer.json file and remove Dockerfile under .devcontainer folder.
"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
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants