From 47c27159f06497ac0c8ea8bb054c88c2ae0f16cd Mon Sep 17 00:00:00 2001 From: Mikhail Timofeev Date: Wed, 13 May 2020 12:02:49 +0300 Subject: [PATCH] install pwsh via snap --- images/linux/scripts/installers/powershellcore.sh | 2 +- images/linux/ubuntu2004.json | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/images/linux/scripts/installers/powershellcore.sh b/images/linux/scripts/installers/powershellcore.sh index 5c615ae31..218ccd09e 100644 --- a/images/linux/scripts/installers/powershellcore.sh +++ b/images/linux/scripts/installers/powershellcore.sh @@ -8,7 +8,7 @@ source $HELPER_SCRIPTS/document.sh # Install Powershell -apt-get install -y powershell +snap install powershell --classic --channel=edge/useedge # Run tests to determine that the software installed as expected echo "Testing to make sure that script performed as expected, and basic scenarios work" diff --git a/images/linux/ubuntu2004.json b/images/linux/ubuntu2004.json index 7fa11f1a3..8f2a4965c 100644 --- a/images/linux/ubuntu2004.json +++ b/images/linux/ubuntu2004.json @@ -216,6 +216,7 @@ "{{template_dir}}/scripts/installers/2004/php.sh", "{{template_dir}}/scripts/installers/pollinate.sh", "{{template_dir}}/scripts/installers/postgresql.sh", + "{{template_dir}}/scripts/installers/powershellcore.sh", "{{template_dir}}/scripts/installers/ruby.sh", "{{template_dir}}/scripts/installers/rust.sh", "{{template_dir}}/scripts/installers/julia.sh",