mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2025-12-09 22:42:40 +01:00
@@ -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/*
|
||||||
|
|||||||
Reference in New Issue
Block a user