❔ Docker + .NET [open / unresolved]
Hey all,
I want to build a docker container which consumes a NuGet Package from a nuget feed behind a proxy.
The problem is, it does not work:
4 Replies
Have you ever worked behind a corporate proxy with NuGet, if so how?
Have you tried to run
dotnet nuget add source -n wisfeed -u unused -p ${AZURE_DEVOPS_ACCESS_TOKEN} --valid-authentication-types basic --store-password-in-clear-text "https://myFeed/.../nuget/v3/index.json" \
&& dotnet nuget enable source wisfeed
dotnet restore "src/WIS.WebAPI.SharedServices/WIS.WebAPI.SharedServices.csproj"
on your machine with your proxy disabled?
You could also try
RUN curl https://myFeed/.../nuget/v3/index.json
in your containerOn the machine it works
Does only work with
curl -x http://myproxy:3128 --proxy-user username@password -L https://myFeed/.../nuget/v3/index.json
Was this issue resolved? If so, run
/close
- otherwise I will mark this as stale and this post will be archived until there is new activity.