diff --git a/amd64.Dockerfile b/amd64.Dockerfile index db37fb6f6..86ba2bf64 100644 --- a/amd64.Dockerfile +++ b/amd64.Dockerfile @@ -1,4 +1,5 @@ FROM mcr.microsoft.com/dotnet/core/sdk:3.1.202 AS builder +ENV DOTNET_CLI_TELEMETRY_OPTOUT=1 WORKDIR /source COPY nuget.config nuget.config COPY Build/Common.csproj Build/Common.csproj @@ -27,6 +28,7 @@ ENV LANG en_US.UTF-8 WORKDIR /datadir WORKDIR /app ENV BTCPAY_DATADIR=/datadir +ENV DOTNET_CLI_TELEMETRY_OPTOUT=1 VOLUME /datadir COPY --from=builder "/app" . diff --git a/arm32v7.Dockerfile b/arm32v7.Dockerfile index 144bde2d0..d4d197291 100644 --- a/arm32v7.Dockerfile +++ b/arm32v7.Dockerfile @@ -1,5 +1,6 @@ # This is a manifest image, will pull the image with the same arch as the builder machine FROM mcr.microsoft.com/dotnet/core/sdk:3.1.202 AS builder +ENV DOTNET_CLI_TELEMETRY_OPTOUT=1 RUN apt-get update \ && apt-get install -qq --no-install-recommends qemu qemu-user-static qemu-user binfmt-support @@ -32,6 +33,7 @@ ENV LANG en_US.UTF-8 WORKDIR /datadir WORKDIR /app ENV BTCPAY_DATADIR=/datadir +ENV DOTNET_CLI_TELEMETRY_OPTOUT=1 VOLUME /datadir COPY --from=builder "/app" . diff --git a/arm64v8.Dockerfile b/arm64v8.Dockerfile index 30fd3a894..642513d45 100644 --- a/arm64v8.Dockerfile +++ b/arm64v8.Dockerfile @@ -1,5 +1,6 @@ # This is a manifest image, will pull the image with the same arch as the builder machine FROM mcr.microsoft.com/dotnet/core/sdk:3.1.202 AS builder +ENV DOTNET_CLI_TELEMETRY_OPTOUT=1 RUN apt-get update \ && apt-get install -qq --no-install-recommends qemu qemu-user-static qemu-user binfmt-support @@ -32,6 +33,7 @@ ENV LANG en_US.UTF-8 WORKDIR /datadir WORKDIR /app ENV BTCPAY_DATADIR=/datadir +ENV DOTNET_CLI_TELEMETRY_OPTOUT=1 VOLUME /datadir COPY --from=builder "/app" .