Skip to content

Commit

Permalink
[cherry-pick] using linux image for building docker image (#2170) (#2171
Browse files Browse the repository at this point in the history
)

## 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
  • Loading branch information
abhishekkumams committed Apr 16, 2024
1 parent 7b27830 commit 3834a21
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions onebranch/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3834a21

Please sign in to comment.