File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change 11# Copyright (c) Microsoft Corporation.
22# Licensed under the MIT License.
33
4- ARG MODULE_VERSION=0.9.0-B2107020
5-
6- # NOTE: Use pre-release version with -MinimumVersion -AllowPrerelease.
4+ ARG MODULE_VERSION=0.9.0
75
86FROM mcr.microsoft.com/powershell:7.1.3-alpine-3.12-20210616
97SHELL ["pwsh" , "-Command" ]
108RUN $ProgressPreference = [System.Management.Automation.ActionPreference]::SilentlyContinue; \
119 $Null = New-Item -Path /ps_modules/ -ItemType Directory -Force; \
12- Save-Module -Name PSDocs -MinimumVersion ${MODULE_VERSION} -Force -Path /ps_modules/ -AllowPrerelease ;
10+ Save-Module -Name PSDocs -RequiredVersion ${MODULE_VERSION} -Force -Path /ps_modules/;
1311
1412COPY LICENSE README.md powershell.ps1 /
1513CMD ["pwsh" , "-File" , "/powershell.ps1" ]
You can’t perform that action at this time.
0 commit comments