mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2024-11-27 04:16:45 +01:00
update powershell
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
This commit is contained in:
parent
3cf8176a1f
commit
6a59d5907d
|
@ -18,7 +18,7 @@ RUN apt-get update && apt-get install -y \
|
||||||
RUN cd /usr/src \
|
RUN cd /usr/src \
|
||||||
&& wget "https://github.com/PowerShell/PowerShell/releases/download/v${POWERSHELL_VERSION}/powershell_${POWERSHELL_VERSION}-1.debian.9_amd64.deb" -O /tmp/powershell.deb \
|
&& wget "https://github.com/PowerShell/PowerShell/releases/download/v${POWERSHELL_VERSION}/powershell_${POWERSHELL_VERSION}-1.debian.9_amd64.deb" -O /tmp/powershell.deb \
|
||||||
&& dpkg -i /tmp/powershell.deb \
|
&& dpkg -i /tmp/powershell.deb \
|
||||||
&& ln -snf "/opt/microsoft/powershell/${POWERSHELL_VERSION}/pwsh" /usr/bin/pwsh \
|
&& ln -snf "/opt/microsoft/powershell/6/pwsh" /usr/bin/pwsh \
|
||||||
&& apt-get install -fy \
|
&& apt-get install -fy \
|
||||||
&& rm -rf /var/lib/apt/lists/* /usr/src/* /tmp/powershell.deb
|
&& rm -rf /var/lib/apt/lists/* /usr/src/* /tmp/powershell.deb
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user