Quantcast
Channel: ASP.NET Core
Viewing all articles
Browse latest Browse all 9386

Private NuGet servers with Docker containers?

$
0
0

So I'm trying to deploy my project as a docker image.

When I run 'docker build' it builds the container image, but then as its finishing up it executes 'dnu restore'.  As its going through the dependencies, it dies on a local library I built which I use with a local directory as my Nuget source, which it obviously doesn't know how to get to.

Is there a way to get these libraries included in the docker restore?

If not, and I have to build an actual real Nuget server, how do I tell dnu restore where to find a private server?  I know there are some system level .NET settings, but I don't exactly have control over what the .NET image looks like, thats being installed by the Microsoft docker image 'microsoft/aspnet:1.0.0-rc1-update1'.

Any ideas how I can accomplish this without throwing it up on the public nuget server?


Viewing all articles
Browse latest Browse all 9386

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>