diff --git a/images/linux/scripts/installers/powershellcore.sh b/images/linux/scripts/installers/powershellcore.sh index e228d9121..4b4f206c0 100644 --- a/images/linux/scripts/installers/powershellcore.sh +++ b/images/linux/scripts/installers/powershellcore.sh @@ -4,5 +4,9 @@ ## Desc: Installs powershellcore ################################################################################ +source $HELPER_SCRIPTS/install.sh + +pwshversion=$(get_toolset_value .pwsh.version) + # Install Powershell -apt-get install -y powershell +apt-get install -y powershell=$pwshversion* diff --git a/images/linux/toolsets/toolset-1804.json b/images/linux/toolsets/toolset-1804.json index e7be1221b..d27be16d1 100644 --- a/images/linux/toolsets/toolset-1804.json +++ b/images/linux/toolsets/toolset-1804.json @@ -362,5 +362,8 @@ }, "postgresql": { "version": "14" + }, + "pwsh": { + "version": "7.2" } } diff --git a/images/linux/toolsets/toolset-2004.json b/images/linux/toolsets/toolset-2004.json index ac6ec86fe..8c71c541d 100644 --- a/images/linux/toolsets/toolset-2004.json +++ b/images/linux/toolsets/toolset-2004.json @@ -370,5 +370,8 @@ }, "postgresql": { "version": "14" + }, + "pwsh": { + "version": "7.2" } } diff --git a/images/linux/toolsets/toolset-2204.json b/images/linux/toolsets/toolset-2204.json index 56d10d2d3..76c9e6851 100644 --- a/images/linux/toolsets/toolset-2204.json +++ b/images/linux/toolsets/toolset-2204.json @@ -344,5 +344,8 @@ }, "postgresql": { "version": "14" + }, + "pwsh": { + "version": "7.2" } }