Skip to content

Commit

Permalink
Merge pull request #347 from rasmus/dotnet-container-settings
Browse files Browse the repository at this point in the history
Fix: Specify environment variables for .NET containers
  • Loading branch information
rasmus committed Jan 25, 2024
2 parents 87335ea + f10ddc6 commit 56c5d1f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Source/Bake/Cooking/Cooks/DotNet/DotNetDockerFileCook.cs
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,10 @@ public class DotNetDockerFileCook : Cook<DotNetDockerFileRecipe>
ENV DOTNET_RUNNING_IN_CONTAINER=true
ENV DOTNET_CLI_TELEMETRY_OPTOUT=1
ENV DOTNET_EnableDiagnostics=0
ENV DOTNET_NOLOGO=1
ENV DOTNET_GENERATE_ASPNET_CERTIFICATE=0
ENV DOTNET_gcServer=0
# OPT OUT OF Diagnostic pipeline so we can run readonly.
ENV COMPlus_EnableDiagnostics=0
Expand Down

0 comments on commit 56c5d1f

Please sign in to comment.