diff options
| author | Anthony Lavado <anthonylavado@users.noreply.github.com> | 2018-12-12 00:38:35 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-12-12 00:38:35 -0500 |
| commit | 824f26f4a114c8be1963c0df02a4b9bcc2eb1900 (patch) | |
| tree | 8f3ae3f665f96f81f4af31234392919908b08b16 | |
| parent | 8ecb3e1a06617774d85c421fa8fd52151ba2183c (diff) | |
| parent | 13eec38783f438f9d83282b405226844f4ecbadd (diff) | |
Merge pull request #80 from nvllsvm/telemetry
Opt out of .NET telemetry
| -rw-r--r-- | Dockerfile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Dockerfile b/Dockerfile index 66c8884aa..fad1a95a2 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 |
