File tree Expand file tree Collapse file tree 9 files changed +9
-9
lines changed
Expand file tree Collapse file tree 9 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -70,7 +70,7 @@ ENV ProgramFiles="C:\Program Files" `
7070COPY --from=installer-env ["\\ PowerShell\\ " , "$ProgramFiles\\ PowerShell" ]
7171
7272# Set the path
73- RUN setx PATH "%PATH%;%ProgramFiles%\P owerShell"
73+ RUN setx PATH "%PATH%;%ProgramFiles%\P owerShell; "
7474
7575# intialize powershell module cache
7676RUN pwsh `
Original file line number Diff line number Diff line change @@ -70,7 +70,7 @@ ENV ProgramFiles="C:\Program Files" `
7070 WindowsPATH="C:\W indows\s ystem32;C:\W indows"
7171
7272 # Set the path
73- ENV PATH="$WindowsPATH;${ProgramFiles}\P owerShell"
73+ ENV PATH="$WindowsPATH;${ProgramFiles}\P owerShell; "
7474
7575COPY --from=installer-env ["\\ PowerShell\\ " , "$ProgramFiles\\ PowerShell" ]
7676
Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ ENV ProgramFiles="C:\Program Files" `
4545COPY --from=installer-env ["\\ PowerShell\\ " , "$ProgramFiles\\ PowerShell\\ latest" ]
4646
4747# Set the path
48- RUN setx /M PATH "%ProgramFiles%\P owerShell\l atest;%PATH%"
48+ RUN setx /M PATH "%ProgramFiles%\P owerShell\l atest;%PATH%; "
4949
5050# intialize powershell module cache
5151RUN pwsh `
Original file line number Diff line number Diff line change @@ -70,7 +70,7 @@ ENV ProgramFiles="C:\Program Files" `
7070COPY --from=installer-env ["\\ PowerShell\\ " , "$ProgramFiles\\ PowerShell" ]
7171
7272# Set the path
73- RUN setx PATH "%PATH%;%ProgramFiles%\P owerShell"
73+ RUN setx PATH "%PATH%;%ProgramFiles%\P owerShell; "
7474
7575# intialize powershell module cache
7676RUN pwsh `
Original file line number Diff line number Diff line change @@ -70,7 +70,7 @@ ENV ProgramFiles="C:\Program Files" `
7070 WindowsPATH="C:\W indows\s ystem32;C:\W indows"
7171
7272 # Set the path
73- ENV PATH="$WindowsPATH;${ProgramFiles}\P owerShell"
73+ ENV PATH="$WindowsPATH;${ProgramFiles}\P owerShell; "
7474
7575COPY --from=installer-env ["\\ PowerShell\\ " , "$ProgramFiles\\ PowerShell" ]
7676
Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ ENV ProgramFiles="C:\Program Files" `
4545COPY --from=installer-env ["\\ PowerShell\\ " , "$ProgramFiles\\ PowerShell\\ latest" ]
4646
4747# Set the path
48- RUN setx /M PATH "%ProgramFiles%\P owerShell\l atest;%PATH%"
48+ RUN setx /M PATH "%ProgramFiles%\P owerShell\l atest;%PATH%; "
4949
5050# intialize powershell module cache
5151RUN pwsh `
Original file line number Diff line number Diff line change @@ -70,7 +70,7 @@ ENV ProgramFiles="C:\Program Files" `
7070COPY --from=installer-env ["\\ PowerShell\\ " , "$ProgramFiles\\ PowerShell" ]
7171
7272# Set the path
73- RUN setx PATH "%PATH%;%ProgramFiles%\P owerShell"
73+ RUN setx PATH "%PATH%;%ProgramFiles%\P owerShell; "
7474
7575# intialize powershell module cache
7676RUN pwsh `
Original file line number Diff line number Diff line change @@ -70,7 +70,7 @@ ENV ProgramFiles="C:\Program Files" `
7070 WindowsPATH="C:\W indows\s ystem32;C:\W indows"
7171
7272 # Set the path
73- ENV PATH="$WindowsPATH;${ProgramFiles}\P owerShell"
73+ ENV PATH="$WindowsPATH;${ProgramFiles}\P owerShell; "
7474
7575COPY --from=installer-env ["\\ PowerShell\\ " , "$ProgramFiles\\ PowerShell" ]
7676
Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ ENV ProgramFiles="C:\Program Files" `
4545COPY --from=installer-env ["\\ PowerShell\\ " , "$ProgramFiles\\ PowerShell\\ latest" ]
4646
4747# Set the path
48- RUN setx /M PATH "%ProgramFiles%\P owerShell\l atest;%PATH%"
48+ RUN setx /M PATH "%ProgramFiles%\P owerShell\l atest;%PATH%; "
4949
5050# intialize powershell module cache
5151RUN pwsh `
You can’t perform that action at this time.
0 commit comments