Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Cherrypick] Update onebranch Dockerfile for windows agent #2159 to `…
…release/0.11` (#2160) Cherrypick #2159 to `release/0.11` ## Why make this change? - We were getting the error message "no matching manifest for windows/amd64 10.0.20348 in the manifest list entries". - the problem is that the Docker image we're trying to pull (mcr.microsoft.com/dotnet/aspnet:6.0-cbl-mariner2.0) does not support the architecture of our Docker host (Windows/amd64). - The 6.0-cbl-mariner2.0 tag of the dotnet/aspnet image is designed for the CBL-Mariner (Common Base Linux) operating system, which is a Linux distribution developed by Microsoft. This image will not work on a Windows host of our onebranch pipeline. ## What is this change? - changed the base images from Linux-based images to Windows-based images. - `mcr.microsoft.com/dotnet/aspnet:6.0` ## How was this tested? - [X] pipeline passing Co-authored-by: Abhishek Kumar <102276754+abhishekkumams@users.noreply.github.com>
- Loading branch information