mirror of
https://github.com/PowerShell/PowerShell
synced 2026-06-08 12:12:50 +00:00
31 lines
686 B
Docker
31 lines
686 B
Docker
# Docker image file that describes an Centos7 image with PowerShell installed from Microsoft YUM Repo
|
|
|
|
FROM mcr.microsoft.com/powershell:centos-7
|
|
LABEL maintainer="PowerShell Team <powershellteam@hotmail.com>"
|
|
|
|
# Install dependencies and clean up
|
|
RUN yum install -y \
|
|
glibc \
|
|
libcurl \
|
|
ca-certificates \
|
|
libgcc \
|
|
libicu \
|
|
openssl \
|
|
libstdc++ \
|
|
ncurses-base \
|
|
libunwind \
|
|
uuid \
|
|
zlib \
|
|
which \
|
|
curl \
|
|
git \
|
|
wget \
|
|
&& yum clean all
|
|
|
|
COPY PowerShellPackage.ps1 /
|
|
|
|
ENV DOTNET_SKIP_FIRST_TIME_EXPERIENCE=1
|
|
|
|
# Use PowerShell as the default shell
|
|
ENTRYPOINT [ "pwsh" ]
|