arkanum/install/install-dotnet.sh
OCram85 d84a3b7e6e
All checks were successful
ci/woodpecker/push/test Pipeline was successful
ci/woodpecker/push/master Pipeline was successful
ci/woodpecker/push/next Pipeline was successful
ci/woodpecker/pr/test Pipeline was successful
ci/woodpecker/pr/master Pipeline was successful
ci/woodpecker/pr/next Pipeline was successful
add individual install scripts
2022-11-04 11:50:01 +01:00

13 lines
380 B
Bash

#!/bin/bash
set -e
echo "**** downloading latest install script ****"
curl -fsSL https://dot.net/v1/dotnet-install.sh -o /tmp/dotnet-install.sh
chmod +x /tmp/dotnet-install.sh
echo "**** installing latest .NET Core LTS release ****"
/tmp/dotnet-install.sh --channel LTS
echo 'export PATH=$PATH:/config/.dotnet' | sudo tee -a /etc/bash.bashrc > /dev/null
echo "**** done. ****"