I currently have a standard .NET Framework web application. With Docker support. I would like to build these Docker images using Azure DevOps but there don't seem to be any clear tutorials on how to do that.
I can build the Docker image using the build button in Visual Studio. This makes a usable image that works. Though I know how to either select such a build option in Azure DevOps or generally outside Visual Studio.
What I'm using: .NET Framework 4.7.2 boilerplate web app with Docker support.
You could go with a general Build, test, and push Docker container apps
set of tasks.
When you create a build you can choose a template for the build, you'd need to use the docker build template. Otherwise just follow the linked tutorial.
Reading: https://docs.microsoft.com/en-us/azure/devops/pipelines/languages/docker?view=azure-devops
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.