From 3834a212adf9c40e876c0d702ca962026c909e20 Mon Sep 17 00:00:00 2001 From: Abhishek Kumar <102276754+abhishekkumams@users.noreply.github.com> Date: Tue, 16 Apr 2024 20:20:59 +0530 Subject: [PATCH] [cherry-pick] using linux image for building docker image (#2170) (#2171) ## Why make this change? - Due to change in the docker image, deployment to ACA started failing. ## What is this change? - reverting back to using linux image for DAB ## How was this tested? - verified the docker task in one branch using the linux image --- onebranch/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/onebranch/Dockerfile b/onebranch/Dockerfile index b33f9629ec..545de4db47 100644 --- a/onebranch/Dockerfile +++ b/onebranch/Dockerfile @@ -3,9 +3,9 @@ # # Version values referenced from https://hub.docker.com/_/microsoft-dotnet-aspnet # dotnet/sdk and dotnet/aspnet required to build working container. -FROM mcr.microsoft.com/dotnet/sdk:6.0 AS build +FROM mcr.microsoft.com/dotnet/sdk:6.0-cbl-mariner2.0 AS build WORKDIR /src -FROM mcr.microsoft.com/dotnet/aspnet:6.0 AS runtime +FROM mcr.microsoft.com/dotnet/aspnet:6.0-cbl-mariner2.0 AS runtime # The ./src/out path below points to the finalized build bits created by the pipeline. # The path is relative to the "Docker build context" specified by the parameter dockerFileContextPath