Skip to content

Commit 3834a21

Browse files
[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
1 parent 7b27830 commit 3834a21

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

onebranch/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
#
44
# Version values referenced from https://hub.docker.com/_/microsoft-dotnet-aspnet
55
# dotnet/sdk and dotnet/aspnet required to build working container.
6-
FROM mcr.microsoft.com/dotnet/sdk:6.0 AS build
6+
FROM mcr.microsoft.com/dotnet/sdk:6.0-cbl-mariner2.0 AS build
77
WORKDIR /src
8-
FROM mcr.microsoft.com/dotnet/aspnet:6.0 AS runtime
8+
FROM mcr.microsoft.com/dotnet/aspnet:6.0-cbl-mariner2.0 AS runtime
99

1010
# The ./src/out path below points to the finalized build bits created by the pipeline.
1111
# The path is relative to the "Docker build context" specified by the parameter dockerFileContextPath

0 commit comments

Comments
 (0)