Skip to content

mcr.microsoft.com/dotnet/core/sdk:3.1 docker image uses 7.0.0-rc.2 of PowerShell #1727

@ManojNair

Description

@ManojNair

Since PowerShell 7.0 is now GA, can we have the .NET Core SDK docker image to include the GA Version

❯ docker run --rm -it mcr.microsoft.com/dotnet/core/sdk:3.1 /bin/bash
root@b206a5688965:/# pwsh
PowerShell 7.0.0-rc.2
Copyright (c) Microsoft Corporation. All rights reserved.

https://aka.ms/powershell
Type 'help' to get help.

PS /> $PSVersionTable

Name                           Value
----                           -----
PSVersion                      7.0.0-rc.2
PSEdition                      Core
GitCommitId                    7.0.0-rc.2
OS                             Linux 4.19.76-linuxkit #1 SMP Thu Oct 17 19:31:58 UTC 2019
Platform                       Unix
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           1.1.0.1
WSManStackVersion              3.0

Installing PowerShell as a dotnet global tool does install the PowerShell 7 GA version.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions