balajivijayakumar1994
balajivijayakumar1994
hi @mpowrie , Can you please tell me Which DNS address we have to put here in order to work. Thanks
#13 [build 5/8] RUN dotnet restore "./myFirstProject.csproj" #13 0.587 Determining projects to restore... #13 126.6 /src/myFirstProject.csproj : error NU1301: Unable to load the service index for source https://api.nuget.org/v3/index.json. Still Failing...
in the above I am able to do both RUN curl "www.google.com" RUN curl -k "https://api.nuget.org/v3/index.json" when I did without -k i am getting certificate exception
Its not working out even after adding it
I think it could be firewall issue with laptop on accessing the URls from docker image
=> ERROR [build 4/6] RUN dotnet restore 7.5s ------ > [build 4/6] RUN dotnet restore: #11 1.075 Determining projects to restore... #11 7.428 /src/MyMicroservice.csproj : error NU1301: Unable to load...
Please help to resolve this
Using Windows Docker desktop to build the basic image here is the Docker file content for reference --content starts--- FROM mcr.microsoft.com/dotnet/sdk:6.0 AS build WORKDIR /src COPY MyMicroservice.csproj . RUN dotnet...
Expand ``` #14 1.108 0>Process = "/usr/share/dotnet/dotnet" #14 1.108 MSBuild executable path = "/usr/share/dotnet/sdk/6.0.405/MSBuild.dll" #14 1.108 Command line arguments = "/usr/share/dotnet/sdk/6.0.405/MSBuild.dll -maxcpucount -verbosity:m -nologo -target:Restore -verbosity:detailed -distributedlogger:Microsoft.DotNet.Tools.MSBuild.MSBuildLogger,/usr/share/dotnet/sdk/6.0.405/dotnet.dll*Microsoft.DotNet.Tools.MSBuild.MSBuildForwardingLogger,/usr/share/dotnet/sdk/6.0.405/dotnet.dll" #14 1.108 Current...
hi @erjain, Any update on this