-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #18 from leojonathanoh/enhancement/disable-powersh…
…ell-startup-telemetry-startup-update-check-and-diagnostics-in-all-variants Enhancement: Disable powershell startup telemetry, startup update check, and diagnostics in all variants
- Loading branch information
Showing
23 changed files
with
210 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,11 @@ | ||
FROM mcr.microsoft.com/powershell:6.0.2-ubuntu-16.04 | ||
|
||
# Disable telemetry for powershell 7.0.0 and above and .NET core: https://github.com/PowerShell/PowerShell/issues/16234#issuecomment-942139350 | ||
ENV POWERSHELL_CLI_TELEMETRY_OPTOUT=1 | ||
ENV POWERSHELL_TELEMETRY_OPTOUT=1 | ||
ENV POWERSHELL_UPDATECHECK=Off | ||
ENV POWERSHELL_UPDATECHECK_OPTOUT=1 | ||
ENV DOTNET_CLI_TELEMETRY_OPTOUT=1 | ||
ENV DOTNET_TELEMETRY_OPTOUT=1 | ||
ENV COMPlus_EnableDiagnostics=0 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,11 @@ | ||
FROM mcr.microsoft.com/powershell:6.1.3-alpine-3.8 | ||
|
||
# Disable telemetry for powershell 7.0.0 and above and .NET core: https://github.com/PowerShell/PowerShell/issues/16234#issuecomment-942139350 | ||
ENV POWERSHELL_CLI_TELEMETRY_OPTOUT=1 | ||
ENV POWERSHELL_TELEMETRY_OPTOUT=1 | ||
ENV POWERSHELL_UPDATECHECK=Off | ||
ENV POWERSHELL_UPDATECHECK_OPTOUT=1 | ||
ENV DOTNET_CLI_TELEMETRY_OPTOUT=1 | ||
ENV DOTNET_TELEMETRY_OPTOUT=1 | ||
ENV COMPlus_EnableDiagnostics=0 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,11 @@ | ||
FROM mcr.microsoft.com/powershell:6.1.3-ubuntu-18.04 | ||
|
||
# Disable telemetry for powershell 7.0.0 and above and .NET core: https://github.com/PowerShell/PowerShell/issues/16234#issuecomment-942139350 | ||
ENV POWERSHELL_CLI_TELEMETRY_OPTOUT=1 | ||
ENV POWERSHELL_TELEMETRY_OPTOUT=1 | ||
ENV POWERSHELL_UPDATECHECK=Off | ||
ENV POWERSHELL_UPDATECHECK_OPTOUT=1 | ||
ENV DOTNET_CLI_TELEMETRY_OPTOUT=1 | ||
ENV DOTNET_TELEMETRY_OPTOUT=1 | ||
ENV COMPlus_EnableDiagnostics=0 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,11 @@ | ||
FROM mcr.microsoft.com/powershell:6.2.4-alpine-3.8 | ||
|
||
# Disable telemetry for powershell 7.0.0 and above and .NET core: https://github.com/PowerShell/PowerShell/issues/16234#issuecomment-942139350 | ||
ENV POWERSHELL_CLI_TELEMETRY_OPTOUT=1 | ||
ENV POWERSHELL_TELEMETRY_OPTOUT=1 | ||
ENV POWERSHELL_UPDATECHECK=Off | ||
ENV POWERSHELL_UPDATECHECK_OPTOUT=1 | ||
ENV DOTNET_CLI_TELEMETRY_OPTOUT=1 | ||
ENV DOTNET_TELEMETRY_OPTOUT=1 | ||
ENV COMPlus_EnableDiagnostics=0 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,11 @@ | ||
FROM mcr.microsoft.com/powershell:6.2.4-ubuntu-18.04 | ||
|
||
# Disable telemetry for powershell 7.0.0 and above and .NET core: https://github.com/PowerShell/PowerShell/issues/16234#issuecomment-942139350 | ||
ENV POWERSHELL_CLI_TELEMETRY_OPTOUT=1 | ||
ENV POWERSHELL_TELEMETRY_OPTOUT=1 | ||
ENV POWERSHELL_UPDATECHECK=Off | ||
ENV POWERSHELL_UPDATECHECK_OPTOUT=1 | ||
ENV DOTNET_CLI_TELEMETRY_OPTOUT=1 | ||
ENV DOTNET_TELEMETRY_OPTOUT=1 | ||
ENV COMPlus_EnableDiagnostics=0 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,11 @@ | ||
FROM mcr.microsoft.com/powershell:7.0.3-alpine-3.9-20200928 | ||
|
||
# Disable telemetry for powershell 7.0.0 and above and .NET core: https://github.com/PowerShell/PowerShell/issues/16234#issuecomment-942139350 | ||
ENV POWERSHELL_CLI_TELEMETRY_OPTOUT=1 | ||
ENV POWERSHELL_TELEMETRY_OPTOUT=1 | ||
ENV POWERSHELL_UPDATECHECK=Off | ||
ENV POWERSHELL_UPDATECHECK_OPTOUT=1 | ||
ENV DOTNET_CLI_TELEMETRY_OPTOUT=1 | ||
ENV DOTNET_TELEMETRY_OPTOUT=1 | ||
ENV COMPlus_EnableDiagnostics=0 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,11 @@ | ||
FROM mcr.microsoft.com/powershell:7.0.3-ubuntu-18.04-20201027 | ||
|
||
# Disable telemetry for powershell 7.0.0 and above and .NET core: https://github.com/PowerShell/PowerShell/issues/16234#issuecomment-942139350 | ||
ENV POWERSHELL_CLI_TELEMETRY_OPTOUT=1 | ||
ENV POWERSHELL_TELEMETRY_OPTOUT=1 | ||
ENV POWERSHELL_UPDATECHECK=Off | ||
ENV POWERSHELL_UPDATECHECK_OPTOUT=1 | ||
ENV DOTNET_CLI_TELEMETRY_OPTOUT=1 | ||
ENV DOTNET_TELEMETRY_OPTOUT=1 | ||
ENV COMPlus_EnableDiagnostics=0 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,11 @@ | ||
FROM mcr.microsoft.com/powershell:7.1.5-alpine-3.13-20211021 | ||
|
||
# Disable telemetry for powershell 7.0.0 and above and .NET core: https://github.com/PowerShell/PowerShell/issues/16234#issuecomment-942139350 | ||
ENV POWERSHELL_CLI_TELEMETRY_OPTOUT=1 | ||
ENV POWERSHELL_TELEMETRY_OPTOUT=1 | ||
ENV POWERSHELL_UPDATECHECK=Off | ||
ENV POWERSHELL_UPDATECHECK_OPTOUT=1 | ||
ENV DOTNET_CLI_TELEMETRY_OPTOUT=1 | ||
ENV DOTNET_TELEMETRY_OPTOUT=1 | ||
ENV COMPlus_EnableDiagnostics=0 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,11 @@ | ||
FROM mcr.microsoft.com/powershell:7.1.5-ubuntu-20.04-20211021 | ||
|
||
# Disable telemetry for powershell 7.0.0 and above and .NET core: https://github.com/PowerShell/PowerShell/issues/16234#issuecomment-942139350 | ||
ENV POWERSHELL_CLI_TELEMETRY_OPTOUT=1 | ||
ENV POWERSHELL_TELEMETRY_OPTOUT=1 | ||
ENV POWERSHELL_UPDATECHECK=Off | ||
ENV POWERSHELL_UPDATECHECK_OPTOUT=1 | ||
ENV DOTNET_CLI_TELEMETRY_OPTOUT=1 | ||
ENV DOTNET_TELEMETRY_OPTOUT=1 | ||
ENV COMPlus_EnableDiagnostics=0 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,11 @@ | ||
FROM mcr.microsoft.com/powershell:7.2.0-alpine-3.14-20211102 | ||
|
||
# Disable telemetry for powershell 7.0.0 and above and .NET core: https://github.com/PowerShell/PowerShell/issues/16234#issuecomment-942139350 | ||
ENV POWERSHELL_CLI_TELEMETRY_OPTOUT=1 | ||
ENV POWERSHELL_TELEMETRY_OPTOUT=1 | ||
ENV POWERSHELL_UPDATECHECK=Off | ||
ENV POWERSHELL_UPDATECHECK_OPTOUT=1 | ||
ENV DOTNET_CLI_TELEMETRY_OPTOUT=1 | ||
ENV DOTNET_TELEMETRY_OPTOUT=1 | ||
ENV COMPlus_EnableDiagnostics=0 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,11 @@ | ||
FROM mcr.microsoft.com/powershell:7.2.0-ubuntu-20.04-20211102 | ||
|
||
# Disable telemetry for powershell 7.0.0 and above and .NET core: https://github.com/PowerShell/PowerShell/issues/16234#issuecomment-942139350 | ||
ENV POWERSHELL_CLI_TELEMETRY_OPTOUT=1 | ||
ENV POWERSHELL_TELEMETRY_OPTOUT=1 | ||
ENV POWERSHELL_UPDATECHECK=Off | ||
ENV POWERSHELL_UPDATECHECK_OPTOUT=1 | ||
ENV DOTNET_CLI_TELEMETRY_OPTOUT=1 | ||
ENV DOTNET_TELEMETRY_OPTOUT=1 | ||
ENV COMPlus_EnableDiagnostics=0 | ||
|