Skip to content

Commit

Permalink
Ensure PSSlack 1.0.6 in all locations
Browse files Browse the repository at this point in the history
  • Loading branch information
joshcorr committed Jul 12, 2021
1 parent b169eac commit 841c5f2
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion docker/alpine3.8/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM mcr.microsoft.com/powershell:7.0.3-alpine-3.8 as base
SHELL ["pwsh", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"]
RUN Set-PSRepository -Name PSGallery -InstallationPolicy Trusted; \
Install-Module Configuration -RequiredVersion 1.3.1 -Repository PSGallery -Scope AllUsers -Verbose; \
Install-Module PSSlack -RequiredVersion 1.0.2 -Repository PSGallery -Scope AllUsers -Verbose;
Install-Module PSSlack -RequiredVersion 1.0.6 -Repository PSGallery -Scope AllUsers -Verbose;

FROM base as src
ARG version
Expand Down
2 changes: 1 addition & 1 deletion docker/nano/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM mcr.microsoft.com/powershell:7.0.3-nanoserver-2004 as base
SHELL ["pwsh", "-Command", "$ErrorActionPreference = 'Stop'; $VerbosePreference = 'Continue'; $ProgressPreference = 'SilentlyContinue';"]
RUN Set-PSRepository -Name PSGallery -InstallationPolicy Trusted; \
Install-Module Configuration -RequiredVersion 1.3.1 -Repository PSGallery -Scope AllUsers -Verbose; \
Install-Module PSSlack -RequiredVersion 1.0.2 -Repository PSGallery -Scope AllUsers -Verbose;
Install-Module PSSlack -RequiredVersion 1.0.6 -Repository PSGallery -Scope AllUsers -Verbose;

FROM base as src
ARG version
Expand Down
2 changes: 1 addition & 1 deletion docker/ubuntu16.04/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM mcr.microsoft.com/powershell:7.0.3-ubuntu-16.04 as base
SHELL ["pwsh", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"]
RUN Set-PSRepository -Name PSGallery -InstallationPolicy Trusted; \
Install-Module Configuration -RequiredVersion 1.3.1 -Repository PSGallery -Scope AllUsers -Verbose; \
Install-Module PSSlack -RequiredVersion 1.0.2 -Repository PSGallery -Scope AllUsers -Verbose;
Install-Module PSSlack -RequiredVersion 1.0.6 -Repository PSGallery -Scope AllUsers -Verbose;

FROM base as src
ARG version
Expand Down
2 changes: 1 addition & 1 deletion docker/ubuntu18.04/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM mcr.microsoft.com/powershell:7.0.3-ubuntu-18.04 as base
SHELL ["pwsh", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"]
RUN Set-PSRepository -Name PSGallery -InstallationPolicy Trusted; \
Install-Module Configuration -RequiredVersion 1.3.1 -Repository PSGallery -Scope AllUsers -Verbose; \
Install-Module PSSlack -RequiredVersion 1.0.2 -Repository PSGallery -Scope AllUsers -Verbose;
Install-Module PSSlack -RequiredVersion 1.0.6 -Repository PSGallery -Scope AllUsers -Verbose;

FROM base as src
ARG version
Expand Down
2 changes: 1 addition & 1 deletion docker/windowsservercore/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ FROM mcr.microsoft.com/powershell:7.0.3-windowsservercore-2004 as base
SHELL ["pwsh", "-Command", "$ErrorActionPreference = 'Stop'; $ProgressPreference = 'SilentlyContinue';"]
RUN Set-PSRepository -Name PSGallery -InstallationPolicy Trusted; \
Install-Module Configuration -RequiredVersion 1.3.1 -Repository PSGallery -Scope AllUsers -Verbose; \
Install-Module PSSlack -RequiredVersion 1.0.2 -Repository PSGallery -Scope AllUsers -Verbose;
Install-Module PSSlack -RequiredVersion 1.0.6 -Repository PSGallery -Scope AllUsers -Verbose;

FROM base as src
ARG version
Expand Down
2 changes: 1 addition & 1 deletion requirements.psd1
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@
Configuration = '1.3.1'
Pester = '4.9.0'
PSScriptAnalyzer = '1.18.3'
PSSlack = '1.0.2'
PSSlack = '1.0.6'
platyPS = '0.14.0'
}

0 comments on commit 841c5f2

Please sign in to comment.