-
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 #44 from theohbrothers/enhancement/add-git-variants
Enhancement: Add `git` variants
- Loading branch information
Showing
29 changed files
with
2,079 additions
and
133 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,24 @@ | ||
FROM mcr.microsoft.com/powershell:6.0.4-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 | ||
|
||
# Install Pester | ||
RUN pwsh -c 'Install-Module Pester -Scope AllUsers -MinimumVersion 4.0.0 -MaximumVersion 4.10.1 -Force -ErrorAction Stop -Verbose' | ||
RUN pwsh -c 'Install-Module Pester -Scope AllUsers -MinimumVersion 5.0.0 -Force -ErrorAction Stop -Verbose' | ||
|
||
RUN set -eux; \ | ||
apt-get update; \ | ||
apt-get install -y git; \ | ||
rm -rf /var/lib/apt/lists/* | ||
|
||
COPY docker-entrypoint.sh /docker-entrypoint.sh | ||
RUN chmod +x docker-entrypoint.sh | ||
|
||
ENTRYPOINT [ "/docker-entrypoint.sh" ] |
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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
#!/bin/sh | ||
set -eu | ||
|
||
if [ $# -gt 0 ] && [ "${1#-}" != "$1" ]; then | ||
set -- pwsh "$@" | ||
fi | ||
|
||
exec "$@" |
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,4 +1,21 @@ | ||
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 | ||
|
||
# Install Pester | ||
RUN pwsh -c 'Install-Module Pester -Scope AllUsers -MinimumVersion 4.0.0 -MaximumVersion 4.10.1 -Force -ErrorAction Stop -Verbose' | ||
RUN pwsh -c 'Install-Module Pester -Scope AllUsers -MinimumVersion 5.0.0 -Force -ErrorAction Stop -Verbose' | ||
|
||
RUN apk add --no-cache git | ||
|
||
COPY docker-entrypoint.sh /docker-entrypoint.sh | ||
RUN chmod +x docker-entrypoint.sh | ||
|
||
ENTRYPOINT [ "/docker-entrypoint.sh" ] |
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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
#!/bin/sh | ||
set -eu | ||
|
||
if [ $# -gt 0 ] && [ "${1#-}" != "$1" ]; then | ||
set -- pwsh "$@" | ||
fi | ||
|
||
exec "$@" |
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,6 +1,24 @@ | ||
FROM mcr.microsoft.com/powershell:6.1.3-ubuntu-18.04 | ||
|
||
RUN apt-get update \ | ||
&& apt-get install -y git \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
# 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 | ||
|
||
# Install Pester | ||
RUN pwsh -c 'Install-Module Pester -Scope AllUsers -MinimumVersion 4.0.0 -MaximumVersion 4.10.1 -Force -ErrorAction Stop -Verbose' | ||
RUN pwsh -c 'Install-Module Pester -Scope AllUsers -MinimumVersion 5.0.0 -Force -ErrorAction Stop -Verbose' | ||
|
||
RUN set -eux; \ | ||
apt-get update; \ | ||
apt-get install -y git; \ | ||
rm -rf /var/lib/apt/lists/* | ||
|
||
COPY docker-entrypoint.sh /docker-entrypoint.sh | ||
RUN chmod +x docker-entrypoint.sh | ||
|
||
ENTRYPOINT [ "/docker-entrypoint.sh" ] |
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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
#!/bin/sh | ||
set -eu | ||
|
||
if [ $# -gt 0 ] && [ "${1#-}" != "$1" ]; then | ||
set -- pwsh "$@" | ||
fi | ||
|
||
exec "$@" |
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,4 +1,21 @@ | ||
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 | ||
|
||
# Install Pester | ||
RUN pwsh -c 'Install-Module Pester -Scope AllUsers -MinimumVersion 4.0.0 -MaximumVersion 4.10.1 -Force -ErrorAction Stop -Verbose' | ||
RUN pwsh -c 'Install-Module Pester -Scope AllUsers -MinimumVersion 5.0.0 -Force -ErrorAction Stop -Verbose' | ||
|
||
RUN apk add --no-cache git | ||
|
||
COPY docker-entrypoint.sh /docker-entrypoint.sh | ||
RUN chmod +x docker-entrypoint.sh | ||
|
||
ENTRYPOINT [ "/docker-entrypoint.sh" ] |
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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
#!/bin/sh | ||
set -eu | ||
|
||
if [ $# -gt 0 ] && [ "${1#-}" != "$1" ]; then | ||
set -- pwsh "$@" | ||
fi | ||
|
||
exec "$@" |
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,6 +1,24 @@ | ||
FROM mcr.microsoft.com/powershell:6.2.4-ubuntu-18.04 | ||
|
||
RUN apt-get update \ | ||
&& apt-get install -y git \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
# 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 | ||
|
||
# Install Pester | ||
RUN pwsh -c 'Install-Module Pester -Scope AllUsers -MinimumVersion 4.0.0 -MaximumVersion 4.10.1 -Force -ErrorAction Stop -Verbose' | ||
RUN pwsh -c 'Install-Module Pester -Scope AllUsers -MinimumVersion 5.0.0 -Force -ErrorAction Stop -Verbose' | ||
|
||
RUN set -eux; \ | ||
apt-get update; \ | ||
apt-get install -y git; \ | ||
rm -rf /var/lib/apt/lists/* | ||
|
||
COPY docker-entrypoint.sh /docker-entrypoint.sh | ||
RUN chmod +x docker-entrypoint.sh | ||
|
||
ENTRYPOINT [ "/docker-entrypoint.sh" ] |
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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
#!/bin/sh | ||
set -eu | ||
|
||
if [ $# -gt 0 ] && [ "${1#-}" != "$1" ]; then | ||
set -- pwsh "$@" | ||
fi | ||
|
||
exec "$@" |
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 |
---|---|---|
@@ -0,0 +1,21 @@ | ||
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 | ||
|
||
# Install Pester | ||
RUN pwsh -c 'Install-Module Pester -Scope AllUsers -MinimumVersion 4.0.0 -MaximumVersion 4.10.1 -Force -ErrorAction Stop -Verbose' | ||
RUN pwsh -c 'Install-Module Pester -Scope AllUsers -MinimumVersion 5.0.0 -Force -ErrorAction Stop -Verbose' | ||
|
||
RUN apk add --no-cache git | ||
|
||
COPY docker-entrypoint.sh /docker-entrypoint.sh | ||
RUN chmod +x docker-entrypoint.sh | ||
|
||
ENTRYPOINT [ "/docker-entrypoint.sh" ] |
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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
#!/bin/sh | ||
set -eu | ||
|
||
if [ $# -gt 0 ] && [ "${1#-}" != "$1" ]; then | ||
set -- pwsh "$@" | ||
fi | ||
|
||
exec "$@" |
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,6 +1,24 @@ | ||
FROM mcr.microsoft.com/powershell:7.0.3-ubuntu-18.04 | ||
FROM mcr.microsoft.com/powershell:7.0.3-ubuntu-18.04-20201027 | ||
|
||
RUN apt-get update \ | ||
&& apt-get install -y git \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
# 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 | ||
|
||
# Install Pester | ||
RUN pwsh -c 'Install-Module Pester -Scope AllUsers -MinimumVersion 4.0.0 -MaximumVersion 4.10.1 -Force -ErrorAction Stop -Verbose' | ||
RUN pwsh -c 'Install-Module Pester -Scope AllUsers -MinimumVersion 5.0.0 -Force -ErrorAction Stop -Verbose' | ||
|
||
RUN set -eux; \ | ||
apt-get update; \ | ||
apt-get install -y git; \ | ||
rm -rf /var/lib/apt/lists/* | ||
|
||
COPY docker-entrypoint.sh /docker-entrypoint.sh | ||
RUN chmod +x docker-entrypoint.sh | ||
|
||
ENTRYPOINT [ "/docker-entrypoint.sh" ] |
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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
#!/bin/sh | ||
set -eu | ||
|
||
if [ $# -gt 0 ] && [ "${1#-}" != "$1" ]; then | ||
set -- pwsh "$@" | ||
fi | ||
|
||
exec "$@" |
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 |
---|---|---|
@@ -0,0 +1,21 @@ | ||
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 | ||
|
||
# Install Pester | ||
RUN pwsh -c 'Install-Module Pester -Scope AllUsers -MinimumVersion 4.0.0 -MaximumVersion 4.10.1 -Force -ErrorAction Stop -Verbose' | ||
RUN pwsh -c 'Install-Module Pester -Scope AllUsers -MinimumVersion 5.0.0 -Force -ErrorAction Stop -Verbose' | ||
|
||
RUN apk add --no-cache git | ||
|
||
COPY docker-entrypoint.sh /docker-entrypoint.sh | ||
RUN chmod +x docker-entrypoint.sh | ||
|
||
ENTRYPOINT [ "/docker-entrypoint.sh" ] |
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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
#!/bin/sh | ||
set -eu | ||
|
||
if [ $# -gt 0 ] && [ "${1#-}" != "$1" ]; then | ||
set -- pwsh "$@" | ||
fi | ||
|
||
exec "$@" |
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 |
---|---|---|
@@ -0,0 +1,24 @@ | ||
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 | ||
|
||
# Install Pester | ||
RUN pwsh -c 'Install-Module Pester -Scope AllUsers -MinimumVersion 4.0.0 -MaximumVersion 4.10.1 -Force -ErrorAction Stop -Verbose' | ||
RUN pwsh -c 'Install-Module Pester -Scope AllUsers -MinimumVersion 5.0.0 -Force -ErrorAction Stop -Verbose' | ||
|
||
RUN set -eux; \ | ||
apt-get update; \ | ||
apt-get install -y git; \ | ||
rm -rf /var/lib/apt/lists/* | ||
|
||
COPY docker-entrypoint.sh /docker-entrypoint.sh | ||
RUN chmod +x docker-entrypoint.sh | ||
|
||
ENTRYPOINT [ "/docker-entrypoint.sh" ] |
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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
#!/bin/sh | ||
set -eu | ||
|
||
if [ $# -gt 0 ] && [ "${1#-}" != "$1" ]; then | ||
set -- pwsh "$@" | ||
fi | ||
|
||
exec "$@" |
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 |
---|---|---|
@@ -0,0 +1,21 @@ | ||
FROM mcr.microsoft.com/powershell:lts-7.2-alpine-3.17 | ||
|
||
# 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 | ||
|
||
# Install Pester | ||
RUN pwsh -c 'Install-Module Pester -Scope AllUsers -MinimumVersion 4.0.0 -MaximumVersion 4.10.1 -Force -ErrorAction Stop -Verbose' | ||
RUN pwsh -c 'Install-Module Pester -Scope AllUsers -MinimumVersion 5.0.0 -Force -ErrorAction Stop -Verbose' | ||
|
||
RUN apk add --no-cache git | ||
|
||
COPY docker-entrypoint.sh /docker-entrypoint.sh | ||
RUN chmod +x docker-entrypoint.sh | ||
|
||
ENTRYPOINT [ "/docker-entrypoint.sh" ] |
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 |
---|---|---|
@@ -0,0 +1,8 @@ | ||
#!/bin/sh | ||
set -eu | ||
|
||
if [ $# -gt 0 ] && [ "${1#-}" != "$1" ]; then | ||
set -- pwsh "$@" | ||
fi | ||
|
||
exec "$@" |
Oops, something went wrong.