mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2024-11-23 03:21:28 +01:00
fix powershell
Signed-off-by: Jess Frazelle <jess@oxide.computer>
This commit is contained in:
parent
299ae08ba8
commit
72e15e12d8
|
@ -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/6/pwsh" /usr/bin/pwsh \
|
&& ln -snf "/opt/microsoft/powershell/7/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
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
FROM debian:sid-slim
|
FROM debian:buster-slim
|
||||||
LABEL maintainer "Christian Koep <christiankoep@gmail.com>"
|
LABEL maintainer "Christian Koep <christiankoep@gmail.com>"
|
||||||
|
|
||||||
ENV ROUTERSPLOIT_VERSION v3.4.0
|
ENV ROUTERSPLOIT_VERSION v3.4.0
|
||||||
|
|
Loading…
Reference in New Issue
Block a user