34 lines
792 B
Docker
34 lines
792 B
Docker
# Docker image file that describes an Ubuntu16.04 image with PowerShell installed from Microsoft APT Repo
|
|
|
|
FROM microsoft/powershell:ubuntu16.04
|
|
LABEL maintainer="PowerShell Team <powershellteam@hotmail.com>"
|
|
|
|
# Install dependencies and clean up
|
|
RUN apt-get update \
|
|
&& apt-get install -y --no-install-recommends \
|
|
apt-utils \
|
|
apt-utils \
|
|
libc6 \
|
|
libcurl3 \
|
|
ca-certificates \
|
|
libgcc1 \
|
|
libicu55 \
|
|
libssl1.0.0 \
|
|
libstdc++6 \
|
|
libtinfo5 \
|
|
libunwind8 \
|
|
libuuid1 \
|
|
libcroco3 \
|
|
libgraphite2-3 \
|
|
zlib1g \
|
|
curl \
|
|
git \
|
|
apt-transport-https \
|
|
locales \
|
|
wget \
|
|
&& rm -rf /var/lib/apt/lists/*
|
|
|
|
COPY PowerShellPackage.ps1 /
|
|
|
|
# Use PowerShell as the default shell
|
|
ENTRYPOINT [ "pwsh" ]
|