Hi Saravanakumar Balachandran,
Welcome to Microsoft Q&A Platform, thanks for posting your query here.
It seems that the Docker image is not available in the artifactory. please modify your Dockerfile to use the ubuntu:20.04
base image.
FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build
base
WORKDIR /source
COPY *.sln .
COPY aspnetapp/*.csproj ./aspnetapp/
RUN dotnet restore
COPY aspnetapp/. ./aspnetapp/
WORKDIR /source/aspnetapp
RUN dotnet publish
FROM mcr.microsoft.com/dotnet/aspnet:8.0
WORKDIR /app
COPY
ENTRYPOINT
we are using the mcr.microsoft.com/dotnet/sdk:8.0 base image for the build stage and the mcr.microsoft.com/dotnet/aspnet:8.0 base image for the runtime stage.
Hopes this helps you.