Added NUGET_CERT_REVOCATION_MODE to docker files

This commit is contained in:
Khwezi Mngoma
2026-06-06 00:07:00 +02:00
parent 99c3498ae4
commit 5f1e31b703
3 changed files with 3 additions and 0 deletions
@@ -10,6 +10,7 @@ COPY ["src/LiteCharmsSecurity.STS.Identity/LiteCharmsSecurity.STS.Identity.cspro
COPY ["src/LiteCharmsSecurity.Admin.EntityFramework.Shared/LiteCharmsSecurity.Admin.EntityFramework.Shared.csproj", "src/LiteCharmsSecurity.Admin.EntityFramework.Shared/"]
COPY ["src/LiteCharmsSecurity.Shared/LiteCharmsSecurity.Shared.csproj", "src/LiteCharmsSecurity.Shared/"]
ENV NUGET_CERT_REVOCATION_MODE=offline
RUN dotnet restore "src/LiteCharmsSecurity.STS.Identity/LiteCharmsSecurity.STS.Identity.csproj" --source "https://nexus.khongisa.co.za/repository/nuget-group/index.json" --verbosity detailed
COPY . .