2018-03-20 21:34:18 +01:00
|
|
|
# Docker image file that describes an Centos7 image with PowerShell installed from Microsoft YUM Repo
|
|
|
|
|
2019-01-23 03:18:44 +01:00
|
|
|
FROM mcr.microsoft.com/powershell:alpine-3.8
|
|
|
|
LABEL maintainer="PowerShell Team <powershellteam@hotmail.com>"
|
2018-03-20 21:34:18 +01:00
|
|
|
|
|
|
|
# Install dependencies and clean up
|
|
|
|
RUN apk update \
|
2018-11-27 19:45:49 +01:00
|
|
|
&& apk add libunwind libcurl cmake clang build-base git bash curl
|
|
|
|
|
|
|
|
COPY PowerShellPackage.ps1 /
|
2018-03-20 21:34:18 +01:00
|
|
|
|
2018-06-15 20:07:27 +02:00
|
|
|
ENV DOTNET_SKIP_FIRST_TIME_EXPERIENCE=1
|
|
|
|
|
2018-11-27 19:45:49 +01:00
|
|
|
ENTRYPOINT [ "pwsh" ]
|