From 988e40f75751918eff60beb8a5b57fe783f19e81 Mon Sep 17 00:00:00 2001 From: Hariharan Subramanian <105889062+hsubramanianaks@users.noreply.github.com> Date: Thu, 29 Feb 2024 12:05:59 -0500 Subject: [PATCH] Update Dockerfile to correct sha --- src/devhostagent/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/devhostagent/Dockerfile b/src/devhostagent/Dockerfile index e717da39..908a7178 100644 --- a/src/devhostagent/Dockerfile +++ b/src/devhostagent/Dockerfile @@ -1,5 +1,5 @@ # Build container -FROM --platform=$BUILDPLATFORM mcr.microsoft.com/dotnet/sdk:sdk:7.0-cbl-mariner2.0@sha256:9e054d0663d07e09127d114f753c1068d0bf681eab188352d06f111ce68f050f AS build +FROM --platform=$BUILDPLATFORM mcr.microsoft.com/dotnet/sdk:7.0-cbl-mariner2.0@sha256:9e054d0663d07e09127d114f753c1068d0bf681eab188352d06f111ce68f050f AS build ARG TARGETARCH ARG Configuration=Release @@ -19,7 +19,7 @@ ENV MINDARO_BUILD_NUMBER=${MindaroBuildNumber} RUN dotnet publish -c ${Configuration} -a ${TARGETARCH} --self-contained false --no-restore -o /src/publish devhostAgent.csproj # Final container -FROM mcr.microsoft.com/dotnet/aspnet:aspnet:7.0-cbl-mariner2.0@sha256:ea1751dfd2defec87508aa979088741935d1fd4c870bfd53e7645642fc9ead13 as final +FROM mcr.microsoft.com/dotnet/aspnet:7.0-cbl-mariner2.0@sha256:ea1751dfd2defec87508aa979088741935d1fd4c870bfd53e7645642fc9ead13 as final RUN tdnf clean all && \ tdnf check-update && \