Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove Json as default console logging formatter in aspnet images for 6.0 #3703

Merged
merged 2 commits into from
Apr 14, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 2 additions & 7 deletions eng/dockerfile-templates/aspnet/Dockerfile.envs
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,5 @@
set dotnetVersion to join(slice(split(PRODUCT_VERSION, "."), 0, 2), ".") ^
set isWindows to find(OS_VERSION, "nanoserver") >= 0 || find(OS_VERSION, "windowsservercore") >= 0 ^
set lineContinuation to when(isWindows, "`", "\")
}}{{if dotnetVersion = "6.0":ENV {{lineContinuation}}
# ASP.NET Core version
ASPNET_VERSION={{VARIABLES[cat("aspnet|", dotnetVersion, "|build-version")]}} {{lineContinuation}}
# Set the default console formatter to JSON
Logging__Console__FormatterName=Json^
else:# ASP.NET Core version
ENV ASPNET_VERSION={{VARIABLES[cat("aspnet|", dotnetVersion, "|build-version")]}}}}
}}# ASP.NET Core version
ENV ASPNET_VERSION={{VARIABLES[cat("aspnet|", dotnetVersion, "|build-version")]}}
4 changes: 1 addition & 3 deletions eng/dockerfile-templates/sdk/Dockerfile.envs
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,7 @@
DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=false {{lineContinuation}}}}{{if ARGS["based-on-buildpack-deps"]:
{{InsertTemplate("../Dockerfile.env.container")}} {{lineContinuation}}}}
# Enable correct mode for dotnet watch (only mode supported in a container)
DOTNET_USE_POLLING_FILE_WATCHER=true {{lineContinuation}}{{if dotnetVersion = "6.0":
# Unset Logging__Console__FormatterName from aspnet base image
Logging__Console__FormatterName= {{lineContinuation}}}}{{if isAlpine && dotnetVersion = "3.1":
DOTNET_USE_POLLING_FILE_WATCHER=true {{lineContinuation}}{{if isAlpine && dotnetVersion = "3.1":
LC_ALL=en_US.UTF-8 {{lineContinuation}}
LANG=en_US.UTF-8 {{lineContinuation}}}}
# Skip extraction of XML docs - generally not useful within an image/container - helps performance
Expand Down
7 changes: 2 additions & 5 deletions src/aspnet/6.0/alpine3.14/amd64/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,8 @@ FROM $REPO:6.0.4-alpine3.14-amd64
# .NET globalization APIs will use invariant mode by default because DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=true is set
# by the base runtime-deps image. See https://aka.ms/dotnet-globalization-alpine-containers for more information.

ENV \
# ASP.NET Core version
ASPNET_VERSION=6.0.4 \
# Set the default console formatter to JSON
Logging__Console__FormatterName=Json
# ASP.NET Core version
ENV ASPNET_VERSION=6.0.4

# Install ASP.NET Core
RUN wget -O aspnetcore.tar.gz https://dotnetcli.azureedge.net/dotnet/aspnetcore/Runtime/$ASPNET_VERSION/aspnetcore-runtime-$ASPNET_VERSION-linux-musl-x64.tar.gz \
Expand Down
7 changes: 2 additions & 5 deletions src/aspnet/6.0/alpine3.14/arm32v7/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,8 @@ FROM $REPO:6.0.4-alpine3.14-arm32v7
# .NET globalization APIs will use invariant mode by default because DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=true is set
# by the base runtime-deps image. See https://aka.ms/dotnet-globalization-alpine-containers for more information.

ENV \
# ASP.NET Core version
ASPNET_VERSION=6.0.4 \
# Set the default console formatter to JSON
Logging__Console__FormatterName=Json
# ASP.NET Core version
ENV ASPNET_VERSION=6.0.4

# Install ASP.NET Core
RUN wget -O aspnetcore.tar.gz https://dotnetcli.azureedge.net/dotnet/aspnetcore/Runtime/$ASPNET_VERSION/aspnetcore-runtime-$ASPNET_VERSION-linux-musl-arm.tar.gz \
Expand Down
7 changes: 2 additions & 5 deletions src/aspnet/6.0/alpine3.14/arm64v8/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,8 @@ FROM $REPO:6.0.4-alpine3.14-arm64v8
# .NET globalization APIs will use invariant mode by default because DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=true is set
# by the base runtime-deps image. See https://aka.ms/dotnet-globalization-alpine-containers for more information.

ENV \
# ASP.NET Core version
ASPNET_VERSION=6.0.4 \
# Set the default console formatter to JSON
Logging__Console__FormatterName=Json
# ASP.NET Core version
ENV ASPNET_VERSION=6.0.4

# Install ASP.NET Core
RUN wget -O aspnetcore.tar.gz https://dotnetcli.azureedge.net/dotnet/aspnetcore/Runtime/$ASPNET_VERSION/aspnetcore-runtime-$ASPNET_VERSION-linux-musl-arm64.tar.gz \
Expand Down
7 changes: 2 additions & 5 deletions src/aspnet/6.0/alpine3.15/amd64/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,8 @@ FROM $REPO:6.0.4-alpine3.15-amd64
# .NET globalization APIs will use invariant mode by default because DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=true is set
# by the base runtime-deps image. See https://aka.ms/dotnet-globalization-alpine-containers for more information.

ENV \
# ASP.NET Core version
ASPNET_VERSION=6.0.4 \
# Set the default console formatter to JSON
Logging__Console__FormatterName=Json
# ASP.NET Core version
ENV ASPNET_VERSION=6.0.4

# Install ASP.NET Core
RUN wget -O aspnetcore.tar.gz https://dotnetcli.azureedge.net/dotnet/aspnetcore/Runtime/$ASPNET_VERSION/aspnetcore-runtime-$ASPNET_VERSION-linux-musl-x64.tar.gz \
Expand Down
7 changes: 2 additions & 5 deletions src/aspnet/6.0/alpine3.15/arm32v7/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,8 @@ FROM $REPO:6.0.4-alpine3.15-arm32v7
# .NET globalization APIs will use invariant mode by default because DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=true is set
# by the base runtime-deps image. See https://aka.ms/dotnet-globalization-alpine-containers for more information.

ENV \
# ASP.NET Core version
ASPNET_VERSION=6.0.4 \
# Set the default console formatter to JSON
Logging__Console__FormatterName=Json
# ASP.NET Core version
ENV ASPNET_VERSION=6.0.4

# Install ASP.NET Core
RUN wget -O aspnetcore.tar.gz https://dotnetcli.azureedge.net/dotnet/aspnetcore/Runtime/$ASPNET_VERSION/aspnetcore-runtime-$ASPNET_VERSION-linux-musl-arm.tar.gz \
Expand Down
7 changes: 2 additions & 5 deletions src/aspnet/6.0/alpine3.15/arm64v8/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,8 @@ FROM $REPO:6.0.4-alpine3.15-arm64v8
# .NET globalization APIs will use invariant mode by default because DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=true is set
# by the base runtime-deps image. See https://aka.ms/dotnet-globalization-alpine-containers for more information.

ENV \
# ASP.NET Core version
ASPNET_VERSION=6.0.4 \
# Set the default console formatter to JSON
Logging__Console__FormatterName=Json
# ASP.NET Core version
ENV ASPNET_VERSION=6.0.4

# Install ASP.NET Core
RUN wget -O aspnetcore.tar.gz https://dotnetcli.azureedge.net/dotnet/aspnetcore/Runtime/$ASPNET_VERSION/aspnetcore-runtime-$ASPNET_VERSION-linux-musl-arm64.tar.gz \
Expand Down
7 changes: 2 additions & 5 deletions src/aspnet/6.0/bullseye-slim/amd64/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,7 @@ RUN aspnetcore_version=6.0.4 \
# ASP.NET Core image
FROM $REPO:6.0.4-bullseye-slim-amd64

ENV \
# ASP.NET Core version
ASPNET_VERSION=6.0.4 \
# Set the default console formatter to JSON
Logging__Console__FormatterName=Json
# ASP.NET Core version
ENV ASPNET_VERSION=6.0.4

COPY --from=installer ["/shared/Microsoft.AspNetCore.App", "/usr/share/dotnet/shared/Microsoft.AspNetCore.App"]
7 changes: 2 additions & 5 deletions src/aspnet/6.0/bullseye-slim/arm32v7/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,7 @@ RUN aspnetcore_version=6.0.4 \
# ASP.NET Core image
FROM $REPO:6.0.4-bullseye-slim-arm32v7

ENV \
# ASP.NET Core version
ASPNET_VERSION=6.0.4 \
# Set the default console formatter to JSON
Logging__Console__FormatterName=Json
# ASP.NET Core version
ENV ASPNET_VERSION=6.0.4

COPY --from=installer ["/shared/Microsoft.AspNetCore.App", "/usr/share/dotnet/shared/Microsoft.AspNetCore.App"]
7 changes: 2 additions & 5 deletions src/aspnet/6.0/bullseye-slim/arm64v8/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,7 @@ RUN aspnetcore_version=6.0.4 \
# ASP.NET Core image
FROM $REPO:6.0.4-bullseye-slim-arm64v8

ENV \
# ASP.NET Core version
ASPNET_VERSION=6.0.4 \
# Set the default console formatter to JSON
Logging__Console__FormatterName=Json
# ASP.NET Core version
ENV ASPNET_VERSION=6.0.4

COPY --from=installer ["/shared/Microsoft.AspNetCore.App", "/usr/share/dotnet/shared/Microsoft.AspNetCore.App"]
7 changes: 2 additions & 5 deletions src/aspnet/6.0/cbl-mariner1.0-distroless/amd64/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,7 @@ RUN aspnetcore_version=6.0.4 \
# ASP.NET Core image
FROM $REPO:6.0.4-cbl-mariner1.0-distroless-amd64

ENV \
# ASP.NET Core version
ASPNET_VERSION=6.0.4 \
# Set the default console formatter to JSON
Logging__Console__FormatterName=Json
# ASP.NET Core version
ENV ASPNET_VERSION=6.0.4

COPY --from=installer ["/dotnet", "/usr/share/dotnet"]
7 changes: 2 additions & 5 deletions src/aspnet/6.0/cbl-mariner1.0/amd64/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
ARG REPO=mcr.microsoft.com/dotnet/runtime
FROM $REPO:6.0.4-cbl-mariner1.0-amd64

ENV \
# ASP.NET Core version
ASPNET_VERSION=6.0.4 \
# Set the default console formatter to JSON
Logging__Console__FormatterName=Json
# ASP.NET Core version
ENV ASPNET_VERSION=6.0.4

# Install ASP.NET Core
RUN curl -fSL --output aspnetcore.rpm https://dotnetcli.azureedge.net/dotnet/aspnetcore/Runtime/$ASPNET_VERSION/aspnetcore-runtime-$ASPNET_VERSION-x64.rpm \
Expand Down
7 changes: 2 additions & 5 deletions src/aspnet/6.0/cbl-mariner2.0-distroless/amd64/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,7 @@ RUN aspnetcore_version=6.0.4 \
# ASP.NET Core image
FROM $REPO:6.0.4-cbl-mariner2.0-distroless-amd64

ENV \
# ASP.NET Core version
ASPNET_VERSION=6.0.4 \
# Set the default console formatter to JSON
Logging__Console__FormatterName=Json
# ASP.NET Core version
ENV ASPNET_VERSION=6.0.4

COPY --from=installer ["/dotnet", "/usr/share/dotnet"]
7 changes: 2 additions & 5 deletions src/aspnet/6.0/cbl-mariner2.0-distroless/arm64v8/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,7 @@ RUN aspnetcore_version=6.0.4 \
# ASP.NET Core image
FROM $REPO:6.0.4-cbl-mariner2.0-distroless-arm64v8

ENV \
# ASP.NET Core version
ASPNET_VERSION=6.0.4 \
# Set the default console formatter to JSON
Logging__Console__FormatterName=Json
# ASP.NET Core version
ENV ASPNET_VERSION=6.0.4

COPY --from=installer ["/dotnet", "/usr/share/dotnet"]
7 changes: 2 additions & 5 deletions src/aspnet/6.0/cbl-mariner2.0/amd64/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
ARG REPO=mcr.microsoft.com/dotnet/runtime
FROM $REPO:6.0.4-cbl-mariner2.0-amd64

ENV \
# ASP.NET Core version
ASPNET_VERSION=6.0.4 \
# Set the default console formatter to JSON
Logging__Console__FormatterName=Json
# ASP.NET Core version
ENV ASPNET_VERSION=6.0.4

# Install ASP.NET Core
RUN curl -fSL --output aspnetcore.rpm https://dotnetcli.azureedge.net/dotnet/aspnetcore/Runtime/$ASPNET_VERSION/aspnetcore-runtime-$ASPNET_VERSION-x64.rpm \
Expand Down
7 changes: 2 additions & 5 deletions src/aspnet/6.0/cbl-mariner2.0/arm64v8/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
ARG REPO=mcr.microsoft.com/dotnet/runtime
FROM $REPO:6.0.4-cbl-mariner2.0-arm64v8

ENV \
# ASP.NET Core version
ASPNET_VERSION=6.0.4 \
# Set the default console formatter to JSON
Logging__Console__FormatterName=Json
# ASP.NET Core version
ENV ASPNET_VERSION=6.0.4

# Install ASP.NET Core
RUN curl -fSL --output aspnetcore.tar.gz https://dotnetcli.azureedge.net/dotnet/aspnetcore/Runtime/$ASPNET_VERSION/aspnetcore-runtime-$ASPNET_VERSION-linux-arm64.tar.gz \
Expand Down
7 changes: 2 additions & 5 deletions src/aspnet/6.0/focal/amd64/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,7 @@ RUN aspnetcore_version=6.0.4 \
# ASP.NET Core image
FROM $REPO:6.0.4-focal-amd64

ENV \
# ASP.NET Core version
ASPNET_VERSION=6.0.4 \
# Set the default console formatter to JSON
Logging__Console__FormatterName=Json
# ASP.NET Core version
ENV ASPNET_VERSION=6.0.4

COPY --from=installer ["/shared/Microsoft.AspNetCore.App", "/usr/share/dotnet/shared/Microsoft.AspNetCore.App"]
7 changes: 2 additions & 5 deletions src/aspnet/6.0/focal/arm32v7/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,7 @@ RUN aspnetcore_version=6.0.4 \
# ASP.NET Core image
FROM $REPO:6.0.4-focal-arm32v7

ENV \
# ASP.NET Core version
ASPNET_VERSION=6.0.4 \
# Set the default console formatter to JSON
Logging__Console__FormatterName=Json
# ASP.NET Core version
ENV ASPNET_VERSION=6.0.4

COPY --from=installer ["/shared/Microsoft.AspNetCore.App", "/usr/share/dotnet/shared/Microsoft.AspNetCore.App"]
7 changes: 2 additions & 5 deletions src/aspnet/6.0/focal/arm64v8/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,7 @@ RUN aspnetcore_version=6.0.4 \
# ASP.NET Core image
FROM $REPO:6.0.4-focal-arm64v8

ENV \
# ASP.NET Core version
ASPNET_VERSION=6.0.4 \
# Set the default console formatter to JSON
Logging__Console__FormatterName=Json
# ASP.NET Core version
ENV ASPNET_VERSION=6.0.4

COPY --from=installer ["/shared/Microsoft.AspNetCore.App", "/usr/share/dotnet/shared/Microsoft.AspNetCore.App"]
7 changes: 2 additions & 5 deletions src/aspnet/6.0/jammy/amd64/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,7 @@ RUN aspnetcore_version=6.0.4 \
# ASP.NET Core image
FROM $REPO:6.0.4-jammy-amd64

ENV \
# ASP.NET Core version
ASPNET_VERSION=6.0.4 \
# Set the default console formatter to JSON
Logging__Console__FormatterName=Json
# ASP.NET Core version
ENV ASPNET_VERSION=6.0.4

COPY --from=installer ["/shared/Microsoft.AspNetCore.App", "/usr/share/dotnet/shared/Microsoft.AspNetCore.App"]
7 changes: 2 additions & 5 deletions src/aspnet/6.0/jammy/arm32v7/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,7 @@ RUN aspnetcore_version=6.0.4 \
# ASP.NET Core image
FROM $REPO:6.0.4-jammy-arm32v7

ENV \
# ASP.NET Core version
ASPNET_VERSION=6.0.4 \
# Set the default console formatter to JSON
Logging__Console__FormatterName=Json
# ASP.NET Core version
ENV ASPNET_VERSION=6.0.4

COPY --from=installer ["/shared/Microsoft.AspNetCore.App", "/usr/share/dotnet/shared/Microsoft.AspNetCore.App"]
7 changes: 2 additions & 5 deletions src/aspnet/6.0/jammy/arm64v8/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,7 @@ RUN aspnetcore_version=6.0.4 \
# ASP.NET Core image
FROM $REPO:6.0.4-jammy-arm64v8

ENV \
# ASP.NET Core version
ASPNET_VERSION=6.0.4 \
# Set the default console formatter to JSON
Logging__Console__FormatterName=Json
# ASP.NET Core version
ENV ASPNET_VERSION=6.0.4

COPY --from=installer ["/shared/Microsoft.AspNetCore.App", "/usr/share/dotnet/shared/Microsoft.AspNetCore.App"]
7 changes: 2 additions & 5 deletions src/aspnet/6.0/nanoserver-1809/amd64/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,7 @@ RUN powershell -Command `
# ASP.NET Core image
FROM $REPO:6.0.4-nanoserver-1809

ENV `
# ASP.NET Core version
ASPNET_VERSION=6.0.4 `
# Set the default console formatter to JSON
Logging__Console__FormatterName=Json
# ASP.NET Core version
ENV ASPNET_VERSION=6.0.4

COPY --from=installer ["/dotnet/shared/Microsoft.AspNetCore.App", "/Program Files/dotnet/shared/Microsoft.AspNetCore.App"]
7 changes: 2 additions & 5 deletions src/aspnet/6.0/nanoserver-20H2/amd64/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,7 @@ RUN powershell -Command `
# ASP.NET Core image
FROM $REPO:6.0.4-nanoserver-20H2

ENV `
# ASP.NET Core version
ASPNET_VERSION=6.0.4 `
# Set the default console formatter to JSON
Logging__Console__FormatterName=Json
# ASP.NET Core version
ENV ASPNET_VERSION=6.0.4

COPY --from=installer ["/dotnet/shared/Microsoft.AspNetCore.App", "/Program Files/dotnet/shared/Microsoft.AspNetCore.App"]
7 changes: 2 additions & 5 deletions src/aspnet/6.0/nanoserver-ltsc2022/amd64/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,7 @@ RUN powershell -Command `
# ASP.NET Core image
FROM $REPO:6.0.4-nanoserver-ltsc2022

ENV `
# ASP.NET Core version
ASPNET_VERSION=6.0.4 `
# Set the default console formatter to JSON
Logging__Console__FormatterName=Json
# ASP.NET Core version
ENV ASPNET_VERSION=6.0.4

COPY --from=installer ["/dotnet/shared/Microsoft.AspNetCore.App", "/Program Files/dotnet/shared/Microsoft.AspNetCore.App"]
7 changes: 2 additions & 5 deletions src/aspnet/6.0/windowsservercore-ltsc2019/amd64/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,8 @@
ARG REPO=mcr.microsoft.com/dotnet/runtime
FROM $REPO:6.0.4-windowsservercore-ltsc2019

ENV `
# ASP.NET Core version
ASPNET_VERSION=6.0.4 `
# Set the default console formatter to JSON
Logging__Console__FormatterName=Json
# ASP.NET Core version
ENV ASPNET_VERSION=6.0.4

# Install ASP.NET Core Runtime
RUN powershell -Command `
Expand Down
7 changes: 2 additions & 5 deletions src/aspnet/6.0/windowsservercore-ltsc2022/amd64/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,8 @@
ARG REPO=mcr.microsoft.com/dotnet/runtime
FROM $REPO:6.0.4-windowsservercore-ltsc2022

ENV `
# ASP.NET Core version
ASPNET_VERSION=6.0.4 `
# Set the default console formatter to JSON
Logging__Console__FormatterName=Json
# ASP.NET Core version
ENV ASPNET_VERSION=6.0.4

# Install ASP.NET Core Runtime
RUN powershell -Command `
Expand Down
2 changes: 0 additions & 2 deletions src/sdk/6.0/alpine3.14/amd64/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@ ENV \
DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=false \
# Enable correct mode for dotnet watch (only mode supported in a container)
DOTNET_USE_POLLING_FILE_WATCHER=true \
# Unset Logging__Console__FormatterName from aspnet base image
Logging__Console__FormatterName= \
# Skip extraction of XML docs - generally not useful within an image/container - helps performance
NUGET_XMLDOC_MODE=skip \
# PowerShell telemetry for docker image usage
Expand Down
2 changes: 0 additions & 2 deletions src/sdk/6.0/alpine3.14/arm32v7/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@ ENV \
DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=false \
# Enable correct mode for dotnet watch (only mode supported in a container)
DOTNET_USE_POLLING_FILE_WATCHER=true \
# Unset Logging__Console__FormatterName from aspnet base image
Logging__Console__FormatterName= \
# Skip extraction of XML docs - generally not useful within an image/container - helps performance
NUGET_XMLDOC_MODE=skip \
# PowerShell telemetry for docker image usage
Expand Down
2 changes: 0 additions & 2 deletions src/sdk/6.0/alpine3.14/arm64v8/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@ ENV \
DOTNET_SYSTEM_GLOBALIZATION_INVARIANT=false \
# Enable correct mode for dotnet watch (only mode supported in a container)
DOTNET_USE_POLLING_FILE_WATCHER=true \
# Unset Logging__Console__FormatterName from aspnet base image
Logging__Console__FormatterName= \
# Skip extraction of XML docs - generally not useful within an image/container - helps performance
NUGET_XMLDOC_MODE=skip \
# PowerShell telemetry for docker image usage
Expand Down
Loading