asdf-dotnet-core icon indicating copy to clipboard operation
asdf-dotnet-core copied to clipboard

DOTNET_ROOT and GitLab CI

Open rpf3 opened this issue 2 years ago • 0 comments

I am using asdf and dotnet-core with GitLab Runner and am having issues with the set-dotnet-home.bash script. I have added it to the .bashrc file of the Docker image being used to run my CI jobs but when I print the environment variables I don't see DOTNET_ROOT set and all dotnet tools fail to run. However, I have the same line in my local .bashrc and it is working as expected. Has anyone run into something similar or have I stumbled across something that needs to be investigated further with a possible pull request to the script?

rpf3 avatar Sep 28 '21 22:09 rpf3