From 2af4ae046a4777c1e4833b55d1bcfa266a8b3ced Mon Sep 17 00:00:00 2001 From: mo khan Date: Mon, 20 Jan 2020 12:02:15 -0700 Subject: Specify default restore location to ensure nuget packages are installed --- Dockerfile | 1 + config/NuGet/NuGet.Config | 13 +++++++++++++ 2 files changed, 14 insertions(+) create mode 100644 config/NuGet/NuGet.Config diff --git a/Dockerfile b/Dockerfile index f8c0f42..9df21c9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 @@ + + + + + + + + + + + + + -- cgit v1.2.3