From c78102264eac71a8165bc268312b84ee348defc3 Mon Sep 17 00:00:00 2001 From: Khwezi Mngoma Date: Sat, 6 Jun 2026 01:12:17 +0200 Subject: [PATCH] Ignoring missing resource files not needed for a dotnet restore --- src/LiteCharmsSecurity.Admin.Api/Dockerfile | 2 +- src/LiteCharmsSecurity.Admin/Dockerfile | 2 +- src/LiteCharmsSecurity.STS.Identity/Dockerfile | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/LiteCharmsSecurity.Admin.Api/Dockerfile b/src/LiteCharmsSecurity.Admin.Api/Dockerfile index ce608b3..4b3e279 100644 --- a/src/LiteCharmsSecurity.Admin.Api/Dockerfile +++ b/src/LiteCharmsSecurity.Admin.Api/Dockerfile @@ -9,7 +9,7 @@ WORKDIR /app_source COPY . . -RUN dotnet restore "LiteCharmsSecurity.AdminUI.sln" +RUN dotnet restore "LiteCharmsSecurity.AdminUI.sln" --ignore-failed-sources WORKDIR "/app_source/src/LiteCharmsSecurity.Admin.Api" RUN dotnet build "LiteCharmsSecurity.Admin.Api.csproj" -c Release -o /app/build diff --git a/src/LiteCharmsSecurity.Admin/Dockerfile b/src/LiteCharmsSecurity.Admin/Dockerfile index a411904..ce7d975 100644 --- a/src/LiteCharmsSecurity.Admin/Dockerfile +++ b/src/LiteCharmsSecurity.Admin/Dockerfile @@ -18,7 +18,7 @@ RUN ln -s /usr/local/lib/node_modules/npm/bin/npm-cli.js /usr/local/bin/npm \ COPY . . -RUN dotnet restore "LiteCharmsSecurity.AdminUI.sln" +RUN dotnet restore "LiteCharmsSecurity.AdminUI.sln" --ignore-failed-sources WORKDIR "/app_source/src/LiteCharmsSecurity.Admin" RUN dotnet build "LiteCharmsSecurity.Admin.csproj" -c Release -o /app/build diff --git a/src/LiteCharmsSecurity.STS.Identity/Dockerfile b/src/LiteCharmsSecurity.STS.Identity/Dockerfile index ec57dd7..93a8ada 100644 --- a/src/LiteCharmsSecurity.STS.Identity/Dockerfile +++ b/src/LiteCharmsSecurity.STS.Identity/Dockerfile @@ -9,7 +9,7 @@ WORKDIR /app_source COPY . . -RUN dotnet restore "LiteCharmsSecurity.AdminUI.sln" +RUN dotnet restore "LiteCharmsSecurity.AdminUI.sln" --ignore-failed-sources WORKDIR "/app_source/src/LiteCharmsSecurity.STS.Identity" RUN dotnet build "LiteCharmsSecurity.STS.Identity.csproj" -c Release -o /app/build