feature: add .NET installation (#90)
* file: add .NET installation script dotnet.sh * feat: add dotnet installation to custom image * feat: add dotnet to build matrix * Prepend `PATH` correctly
This commit is contained in:
committed by
GitHub
parent
efcaf8c96c
commit
15f9808a68
@@ -26,7 +26,8 @@ function replaceEtcEnvironmentVariable {
|
||||
variable_value="$2"
|
||||
|
||||
# modify /etc/environemnt in place by replacing a string that begins with variable_name
|
||||
sudo sed -i -e "s%^${variable_name}=.*$%${variable_name}=\"${variable_value}\"%" /etc/environment
|
||||
# removed quotes for the docker env metadata reader
|
||||
sudo sed -i -e "s%^${variable_name}=.*$%${variable_name}=${variable_value}%" /etc/environment
|
||||
}
|
||||
|
||||
function setEtcEnvironmentVariable {
|
||||
|
||||
Reference in New Issue
Block a user