feat(services): opt-out dotnet cli telemetry

This commit is contained in:
Collin M. Barrett 2020-09-12 14:47:20 -05:00
parent 708055f40c
commit bf74ca66b1
6 changed files with 6 additions and 0 deletions

View file

@ -5,6 +5,7 @@ WORKDIR /app
# init build
FROM mcr.microsoft.com/dotnet/core/sdk:3.1.401-alpine AS build
ENV DOTNET_CLI_TELEMETRY_OPTOUT=true
# restore API
WORKDIR /app

View file

@ -4,6 +4,7 @@ WORKDIR /app
# init build
FROM mcr.microsoft.com/dotnet/core/sdk:3.1.401-alpine AS build
ENV DOTNET_CLI_TELEMETRY_OPTOUT=true
# restore API
WORKDIR /app

View file

@ -6,6 +6,7 @@ EXPOSE 80
# init build
FROM mcr.microsoft.com/dotnet/core/sdk:3.1.401-alpine AS build
ENV DOTNET_CLI_TELEMETRY_OPTOUT=true
# restore API
WORKDIR /app

View file

@ -5,6 +5,7 @@ EXPOSE 80
# init build
FROM mcr.microsoft.com/dotnet/core/sdk:3.1.401-alpine AS build
ENV DOTNET_CLI_TELEMETRY_OPTOUT=true
# restore API
WORKDIR /app

View file

@ -1,5 +1,6 @@
# init test-migrations
FROM mcr.microsoft.com/dotnet/core/sdk:3.1.401-alpine AS test-migrations
ENV DOTNET_CLI_TELEMETRY_OPTOUT=true
ENTRYPOINT ["dotnet", "test", "--logger:trx"]
# restore

View file

@ -15,6 +15,7 @@ pool:
variables:
COMPOSE_DOCKER_CLI_BUILD: 1
DOCKER_BUILDKIT: 1
DOTNET_CLI_TELEMETRY_OPTOUT: true
steps:
- checkout: none