From 74c7d92e6abb0aadd4bfac3261b32a5f2d2fa630 Mon Sep 17 00:00:00 2001 From: Pragna Gopa Date: Wed, 18 Sep 2024 09:34:44 -0700 Subject: [PATCH] [.Net6Inproc]buildcmd with MinorVersionPrefix=6 (#1168) --- host/4/bullseye/dotnet-inproc/dotnet-appservice.Dockerfile | 2 +- host/4/bullseye/dotnet-inproc/dotnet.Dockerfile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/host/4/bullseye/dotnet-inproc/dotnet-appservice.Dockerfile b/host/4/bullseye/dotnet-inproc/dotnet-appservice.Dockerfile index abd8b3170..dd75ae3e6 100644 --- a/host/4/bullseye/dotnet-inproc/dotnet-appservice.Dockerfile +++ b/host/4/bullseye/dotnet-inproc/dotnet-appservice.Dockerfile @@ -15,7 +15,7 @@ RUN BUILD_NUMBER=$(echo ${HOST_VERSION} | cut -d'.' -f 3) && \ git clone --branch v${HOST_VERSION} https://github.com/Azure/azure-functions-host /src/azure-functions-host && \ cd /src/azure-functions-host && \ HOST_COMMIT=$(git rev-list -1 HEAD) && \ - dotnet publish -v q /p:BuildNumber=$BUILD_NUMBER /p:CommitHash=$HOST_COMMIT src/WebJobs.Script.WebHost/WebJobs.Script.WebHost.csproj -c Release --output /azure-functions-host --runtime linux-x64 --framework net6.0 --self-contained && \ + dotnet publish -v q /p:BuildNumber=$BUILD_NUMBER /p:CommitHash=$HOST_COMMIT src/WebJobs.Script.WebHost/WebJobs.Script.WebHost.csproj -c Release --output /azure-functions-host --runtime linux-x64 --framework net6.0 --self-contained /p:MinorVersionPrefix=6 && \ mv /azure-functions-host/workers /workers && mkdir /azure-functions-host/workers && \ rm -rf /root/.local /root/.nuget /src diff --git a/host/4/bullseye/dotnet-inproc/dotnet.Dockerfile b/host/4/bullseye/dotnet-inproc/dotnet.Dockerfile index 51ffe12c1..b7265c243 100644 --- a/host/4/bullseye/dotnet-inproc/dotnet.Dockerfile +++ b/host/4/bullseye/dotnet-inproc/dotnet.Dockerfile @@ -15,7 +15,7 @@ RUN BUILD_NUMBER=$(echo ${HOST_VERSION} | cut -d'.' -f 3) && \ git clone --branch v${HOST_VERSION} https://github.com/Azure/azure-functions-host /src/azure-functions-host && \ cd /src/azure-functions-host && \ HOST_COMMIT=$(git rev-list -1 HEAD) && \ - dotnet publish -v q /p:BuildNumber=$BUILD_NUMBER /p:CommitHash=$HOST_COMMIT src/WebJobs.Script.WebHost/WebJobs.Script.WebHost.csproj -c Release --output /azure-functions-host --runtime linux-x64 --framework net6.0 --self-contained && \ + dotnet publish -v q /p:BuildNumber=$BUILD_NUMBER /p:CommitHash=$HOST_COMMIT src/WebJobs.Script.WebHost/WebJobs.Script.WebHost.csproj -c Release --output /azure-functions-host --runtime linux-x64 --framework net6.0 --self-contained /p:MinorVersionPrefix=6 && \ mv /azure-functions-host/workers /workers && mkdir /azure-functions-host/workers && \ rm -rf /root/.local /root/.nuget /src