File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -2,10 +2,10 @@ ARG PS_TAG=latest
22
33# Stage 1: fetch PSSVG on the build platform (downloads module into /out)
44FROM --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
1111FROM mcr.microsoft.com/powershell:${PS_TAG}
You can’t perform that action at this time.
0 commit comments