fix powershell

Signed-off-by: Jess Frazelle <jess@oxide.computer>
This commit is contained in:
Jess Frazelle 2020-05-15 09:08:19 -07:00
parent 299ae08ba8
commit 72e15e12d8
No known key found for this signature in database
GPG Key ID: 18F3685C0022BFF3
2 changed files with 2 additions and 2 deletions

View File

@ -18,7 +18,7 @@ RUN apt-get update && apt-get install -y \
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 \
&& 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 \
&& rm -rf /var/lib/apt/lists/* /usr/src/* /tmp/powershell.deb

View File

@ -1,4 +1,4 @@
FROM debian:sid-slim
FROM debian:buster-slim
LABEL maintainer "Christian Koep <christiankoep@gmail.com>"
ENV ROUTERSPLOIT_VERSION v3.4.0