From 1788af60cc19f37b2a9f3a810801dac13e64a5cc Mon Sep 17 00:00:00 2001 From: Khwezi Mngoma Date: Sat, 6 Jun 2026 10:55:37 +0200 Subject: [PATCH] Added nexus sourc to docker files --- src/LiteCharmsSecurity.Admin.Api/Dockerfile | 4 ++-- src/LiteCharmsSecurity.Admin/Dockerfile | 4 ++-- src/LiteCharmsSecurity.STS.Identity/Dockerfile | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/LiteCharmsSecurity.Admin.Api/Dockerfile b/src/LiteCharmsSecurity.Admin.Api/Dockerfile index 4b3e279..e5d46d5 100644 --- a/src/LiteCharmsSecurity.Admin.Api/Dockerfile +++ b/src/LiteCharmsSecurity.Admin.Api/Dockerfile @@ -9,10 +9,10 @@ WORKDIR /app_source COPY . . -RUN dotnet restore "LiteCharmsSecurity.AdminUI.sln" --ignore-failed-sources +RUN dotnet restore "LiteCharmsSecurity.AdminUI.sln" --ignore-failed-sources --source "https://nexus.khongisa.co.za/repository/nuget-group/index.json" WORKDIR "/app_source/src/LiteCharmsSecurity.Admin.Api" -RUN dotnet build "LiteCharmsSecurity.Admin.Api.csproj" -c Release -o /app/build +RUN dotnet build "LiteCharmsSecurity.Admin.Api.csproj" -c Release -o /app/build --source "https://nexus.khongisa.co.za/repository/nuget-group/index.json" FROM build AS publish RUN dotnet publish "LiteCharmsSecurity.Admin.Api.csproj" -c Release --no-restore -o /app/publish diff --git a/src/LiteCharmsSecurity.Admin/Dockerfile b/src/LiteCharmsSecurity.Admin/Dockerfile index ce7d975..23a0170 100644 --- a/src/LiteCharmsSecurity.Admin/Dockerfile +++ b/src/LiteCharmsSecurity.Admin/Dockerfile @@ -18,10 +18,10 @@ RUN ln -s /usr/local/lib/node_modules/npm/bin/npm-cli.js /usr/local/bin/npm \ COPY . . -RUN dotnet restore "LiteCharmsSecurity.AdminUI.sln" --ignore-failed-sources +RUN dotnet restore "LiteCharmsSecurity.AdminUI.sln" --ignore-failed-sources --source "https://nexus.khongisa.co.za/repository/nuget-group/index.json" WORKDIR "/app_source/src/LiteCharmsSecurity.Admin" -RUN dotnet build "LiteCharmsSecurity.Admin.csproj" -c Release -o /app/build +RUN dotnet build "LiteCharmsSecurity.Admin.csproj" -c Release -o /app/build --source "https://nexus.khongisa.co.za/repository/nuget-group/index.json" FROM build AS publish RUN dotnet publish "LiteCharmsSecurity.Admin.csproj" -c Release --no-restore -o /app/publish diff --git a/src/LiteCharmsSecurity.STS.Identity/Dockerfile b/src/LiteCharmsSecurity.STS.Identity/Dockerfile index 93a8ada..44e2eab 100644 --- a/src/LiteCharmsSecurity.STS.Identity/Dockerfile +++ b/src/LiteCharmsSecurity.STS.Identity/Dockerfile @@ -9,10 +9,10 @@ WORKDIR /app_source COPY . . -RUN dotnet restore "LiteCharmsSecurity.AdminUI.sln" --ignore-failed-sources +RUN dotnet restore "LiteCharmsSecurity.AdminUI.sln" --ignore-failed-sources --source "https://nexus.khongisa.co.za/repository/nuget-group/index.json" WORKDIR "/app_source/src/LiteCharmsSecurity.STS.Identity" -RUN dotnet build "LiteCharmsSecurity.STS.Identity.csproj" -c Release -o /app/build +RUN dotnet build "LiteCharmsSecurity.STS.Identity.csproj" -c Release -o /app/build --source "https://nexus.khongisa.co.za/repository/nuget-group/index.json" FROM build AS publish RUN dotnet publish "LiteCharmsSecurity.STS.Identity.csproj" -c Release --no-restore -o /app/publish