From 13eec38783f438f9d83282b405226844f4ecbadd Mon Sep 17 00:00:00 2001 From: Andrew Rabert Date: Tue, 11 Dec 2018 23:48:41 -0500 Subject: [PATCH] Opt out of .NET telemetry --- Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 66c8884aa5..fad1a95a25 100644 --- a/Dockerfile +++ b/Dockerfile @@ -4,7 +4,8 @@ FROM microsoft/dotnet:${DOTNET_VERSION}-sdk as builder WORKDIR /repo COPY . . ARG CONFIGURATION=RELEASE -RUN dotnet clean \ +RUN export DOTNET_CLI_TELEMETRY_OPTOUT=1 \ + && dotnet clean \ && dotnet build --configuration ${CONFIGURATION} $(pwd)/MediaBrowser.sln \ && dotnet publish --configuration ${CONFIGURATION} $(pwd)/MediaBrowser.sln --output /jellyfin