fix powershell

Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
This commit is contained in:
Jess Frazelle 2018-03-26 08:44:58 -04:00
parent c784c06b08
commit 4869a44737
No known key found for this signature in database
GPG Key ID: 18F3685C0022BFF3

View File

@ -1,7 +1,7 @@
FROM ubuntu:16.04 FROM ubuntu:16.04
LABEL maintainer "Christian Koep <christiankoep@gmail.com>" LABEL maintainer "Christian Koep <christiankoep@gmail.com>"
ENV POWERSHELL_VERSION v6.1.0-preview.1 ENV POWERSHELL_VERSION 6.1.0-preview.1
RUN apt-get update && apt-get install -y \ RUN apt-get update && apt-get install -y \
ca-certificates \ ca-certificates \
@ -16,7 +16,7 @@ RUN apt-get update && apt-get install -y \
&& rm -rf /var/lib/apt/lists/* && rm -rf /var/lib/apt/lists/*
RUN cd /usr/src \ RUN cd /usr/src \
&& curl -L -O https://github.com/PowerShell/PowerShell/releases/download/v${POWERSHELL_VERSION}/powershell_${POWERSHELL_VERSION}-1.ubuntu.16.04_amd64.deb \ && curl -L -O "https://github.com/PowerShell/PowerShell/releases/download/v${POWERSHELL_VERSION}/powershell_${POWERSHELL_VERSION}-1.ubuntu.16.04_amd64.deb" \
&& dpkg -i powershell_${POWERSHELL_VERSION}-1.ubuntu.16.04_amd64.deb \ && dpkg -i powershell_${POWERSHELL_VERSION}-1.ubuntu.16.04_amd64.deb \
&& apt-get install -fy \ && apt-get install -fy \
&& rm -rf /var/lib/apt/lists/* /usr/src/* && rm -rf /var/lib/apt/lists/* /usr/src/*