From cbc658b52555e00dcc9c4f5483a00a56badcdbaf Mon Sep 17 00:00:00 2001 From: Andrew Schwartzmeyer Date: Tue, 6 Sep 2016 15:47:56 -0700 Subject: [PATCH] Add stable Dockerfile for Ubuntu 14.04 Dependencies and PowerShell are installed. --- docker/stable/ubuntu14.04/Dockerfile | 36 ++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 docker/stable/ubuntu14.04/Dockerfile diff --git a/docker/stable/ubuntu14.04/Dockerfile b/docker/stable/ubuntu14.04/Dockerfile new file mode 100644 index 0000000000..000837a3f9 --- /dev/null +++ b/docker/stable/ubuntu14.04/Dockerfile @@ -0,0 +1,36 @@ +FROM ubuntu:trusty +MAINTAINER Andrew Schwartzmeyer + +ARG POWERSHELL_RELEASE=v6.0.0-alpha.9 +ARG POWERSHELL_PACKAGE=powershell_6.0.0-alpha.9-1ubuntu1.14.04.1_amd64.deb + +# Setup the locale +ENV LANG en_US.UTF-8 +ENV LC_ALL $LANG +RUN locale-gen $LANG && update-locale + +# Install dependencies and clean up +RUN apt-get update \ + && apt-get install -y --no-install-recommends \ + libc6 \ + libcurl3 \ + ca-certificates \ + libgcc1 \ + libicu52 \ + libssl1.0.0 \ + libstdc++6 \ + libtinfo5 \ + libunwind8 \ + libuuid1 \ + zlib1g \ + curl \ + git \ + && rm -rf /var/lib/apt/lists/* + +# Install PowerShell package and clean up +RUN curl -SLO https://github.com/PowerShell/PowerShell/releases/download/$POWERSHELL_RELEASE/$POWERSHELL_PACKAGE \ + && dpkg -i $POWERSHELL_PACKAGE \ + && rm $POWERSHELL_PACKAGE + +# Use array to avoid Docker prepending /bin/sh -c +ENTRYPOINT [ "powershell" ]