Skip to content

Commit bf0f1e7

Browse files
committed
use backslash
1 parent 523d580 commit bf0f1e7

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

Dockerfile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,10 @@ ARG PS_TAG=latest
22

33
# Stage 1: fetch PSSVG on the build platform (downloads module into /out)
44
FROM --platform=$BUILDPLATFORM mcr.microsoft.com/powershell:${PS_TAG} AS modfetch
5-
RUN pwsh -NoLogo -NoProfile -NonInteractive -Command `
6-
"Set-PSRepository PSGallery -InstallationPolicy Trusted; `
7-
Install-PackageProvider -Name NuGet -MinimumVersion 2.8.5.201 -Force; `
8-
Save-Module -Name PSSVG -Path /out -Force"
5+
RUN pwsh -NoLogo -NoProfile -NonInteractive -Command \
6+
"Set-PSRepository PSGallery -InstallationPolicy Trusted; \
7+
Install-PackageProvider -Name NuGet -MinimumVersion 2.8.5.201 -Force; \
8+
Save-Module -Name PSSVG -Path /out -Force"
99

1010
# Stage 2: final runtime image
1111
FROM mcr.microsoft.com/powershell:${PS_TAG}

0 commit comments

Comments
 (0)