Skip to content

Commit 7651065

Browse files
authored
Use PSDocs v0.9.0 release (#8)
1 parent 817ad61 commit 7651065

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

Dockerfile

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,13 @@
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

86
FROM mcr.microsoft.com/powershell:7.1.3-alpine-3.12-20210616
97
SHELL ["pwsh", "-Command"]
108
RUN $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

1412
COPY LICENSE README.md powershell.ps1 /
1513
CMD ["pwsh", "-File", "/powershell.ps1"]

0 commit comments

Comments
 (0)