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

[Cherrypick] Update onebranch Dockerfile for windows agent #2159 to release/0.11 #2160

Merged
merged 1 commit into from
Apr 11, 2024

Conversation

seantleonard
Copy link
Contributor

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?

  • pipeline passing

## 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
@seantleonard seantleonard changed the title Dev/sean/docker file update ob cherrypick [Cherrypick] Update onebranch Dockerfile for windows agent #2159 to release/0.11 Apr 11, 2024
@seantleonard seantleonard changed the base branch from main to release/0.11 April 11, 2024 18:18
@seantleonard
Copy link
Contributor Author

/azp run

@seantleonard seantleonard merged commit 7b27830 into release/0.11 Apr 11, 2024
7 checks passed
@seantleonard seantleonard deleted the dev/sean/dockerFileUpdate_OB_cherrypick branch April 11, 2024 20:46
@seantleonard seantleonard added the 🍒Cherrypick Cherry-picking another commit/PR label May 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🍒Cherrypick Cherry-picking another commit/PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants