I am trying to dockerrize the .NET core application which is having internal dependency with NuGet to fetch some libraries/dependencies. I am using Linux based docker containers as AKS do not support windows based nodes (Please correct me if I am wrong with this - AKS do not support windows based nodes).
I am trying to fetch the NuGet for Linux based docker images, after searching for help I got this information-https://github.com/NuGet/NuGetGallery/issues/3390 Which says that NuGet support is not available for Linux based docker containers.
mcr.microsoft.com/windows AS installer
SHELL ["powershell", "-Command", "$= 'Stop'; $= 'SilentlyContinue';"]
RUN Invoke-WebRequest -OutFile nuget.exe https://dist.nuget.org/win-x86-commandline/latest/nuget.exe
ARG PAT
This is just a sample docker file for Windows based container to fetch the NuGet.
I want to achieve same with Linux based docker container