I'm trying to build an Asp.net 5 application with Jenkins. Jenkins is hosted inside a docker container (The image is based on the official jenkins docker image).
ASP.Net 5 has been installed using the ubuntu instructions into the container rooting in via docker exec.
When inside the container I can execute dnvm, dnu etc. however Jenkins shell scripts can't find the commands. dnvm upgrade has been run which I believe should make it available on the path.
The last resort I can think of trying it running Jenkins as root but that doesn't feel right to me.
Any ideas?