You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
RUN if (!($env:PS_VERSION -match '^\d+\.\d+\.\d+(-\w+(\.\d+)?)?$' )) {throw ('PS_Version ({0}) must match the regex "^\d+\.\d+\.\d+(-\w+(\.\d+)?)?$"' -f $env:PS_VERSION)}
20
-
RUN Invoke-WebRequest $Env:PS_DOWNLOAD_URL -OutFile powershell.zip
20
+
ADD $PS_DOWNLOAD_URL /powershell.zip
21
21
22
22
RUN Expand-Archive powershell.zip -DestinationPath \PowerShell
0 commit comments