Sign inSign up

mdcooper/dotnet-powershell

By mdcooper

•Updated over 1 year ago

Image
0

66

mdcooper/dotnet-powershell repository overview

⁠Use the official .NET Core SDK image with PowerShell 7.2

FROM mcr.microsoft.com/dotnet/sdk:3.1

⁠Install PowerShell 7.2

RUN apt-get update
&& apt-get install -y wget
&& wget -q https://packages.microsoft.com/config/debian/10/prod.list⁠ -O /etc/apt/sources.list.d/microsoft-prod.list
&& wget -q https://packages.microsoft.com/keys/microsoft.asc⁠ -O- | apt-key add -
&& apt-get update
&& apt-get install -y powershell
&& apt-get clean
&& rm -rf /var/lib/apt/lists/*

⁠Set the entrypoint to PowerShell

ENTRYPOINT ["pwsh"]

Tag summary

Content type

Image

Digest

sha256:5684e605c…

Size

331.2 MB

Last updated

over 1 year ago

docker pull mdcooper/dotnet-powershell:3.1-7.2