diff options
| -rw-r--r-- | Dockerfile | 1 | ||||
| -rw-r--r-- | config/NuGet/NuGet.Config | 13 |
2 files changed, 14 insertions, 0 deletions
@@ -32,6 +32,7 @@ RUN add-apt-repository ppa:ondrej/php -y && apt-get update -y && \ asdf reshim && \ rm -rf /var/lib/apt/lists/* +COPY config/NuGet /root/.config/NuGet COPY test /test COPY run.sh / COPY . /opt/license-management/ diff --git a/config/NuGet/NuGet.Config b/config/NuGet/NuGet.Config new file mode 100644 index 0000000..5aacae8 --- /dev/null +++ b/config/NuGet/NuGet.Config @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="utf-8"?> +<configuration> + <config> + <add key="repositoryPath" value="/root/.packages" /> + </config> + <packageSources> + <add key="nuget.org" value="https://api.nuget.org/v3/index.json" /> + </packageSources> + <packageRestore> + <add key="enabled" value="true" /> + <add key="automatic" value="true" /> + </packageRestore> +</configuration> |
