diff --git a/PARR.AIHITLoaderWorker/Dockerfile b/PARR.AIHITLoaderWorker/Dockerfile index dfb283c3..37399825 100644 --- a/PARR.AIHITLoaderWorker/Dockerfile +++ b/PARR.AIHITLoaderWorker/Dockerfile @@ -4,7 +4,9 @@ FROM 10.99.253.167:8090/dotnet/runtime:9.0 AS base WORKDIR /app FROM 10.99.253.167:8090/dotnet/sdk:9.0 AS build +USER root ARG BUILD_CONFIGURATION=Release +USER root WORKDIR /src COPY ["NuGet.config", "."] COPY ["PARR.AIHITLoaderWorker/PARR.AIHITLoaderWorker.csproj", "PARR.AIHITLoaderWorker/"] diff --git a/PARR.AIHITRelationshipsSyncerWorker/Dockerfile b/PARR.AIHITRelationshipsSyncerWorker/Dockerfile index 7c7c855a..77e10bfa 100644 --- a/PARR.AIHITRelationshipsSyncerWorker/Dockerfile +++ b/PARR.AIHITRelationshipsSyncerWorker/Dockerfile @@ -8,6 +8,7 @@ WORKDIR /app # This stage is used to build the service project FROM 10.99.253.167:8090/dotnet/sdk:9.0 AS build ARG BUILD_CONFIGURATION=Release +USER root WORKDIR /src COPY ["NuGet.config", "."] COPY ["PARR.AIHITRelationshipsSyncerWorker/PARR.AIHITRelationshipsSyncerWorker.csproj", "PARR.AIHITRelationshipsSyncerWorker/"] diff --git a/PARR.AIHITSyncerWorker/Dockerfile b/PARR.AIHITSyncerWorker/Dockerfile index fa861fa3..d22e662c 100644 --- a/PARR.AIHITSyncerWorker/Dockerfile +++ b/PARR.AIHITSyncerWorker/Dockerfile @@ -5,6 +5,7 @@ WORKDIR /app FROM 10.99.253.167:8090/dotnet/sdk:9.0 AS build ARG BUILD_CONFIGURATION=Release +USER root WORKDIR /src COPY ["NuGet.config", "."] COPY ["PARR.AIHITSyncerWorker/PARR.AIHITSyncerWorker.csproj", "PARR.AIHITSyncerWorker/"] diff --git a/PARR.EsppOrderLoaderWorker/Dockerfile b/PARR.EsppOrderLoaderWorker/Dockerfile index 446e8bf9..c206ba5f 100644 --- a/PARR.EsppOrderLoaderWorker/Dockerfile +++ b/PARR.EsppOrderLoaderWorker/Dockerfile @@ -4,6 +4,7 @@ FROM 10.99.253.167:8090/dotnet/runtime:9.0 AS base WORKDIR /app FROM 10.99.253.167:8090/dotnet/sdk:9.0 AS build +USER root WORKDIR /src COPY ["NuGet.config", "."] COPY ["PARR.EsppOrderLoaderWorker/PARR.EsppOrderLoaderWorker.csproj", "PARR.EsppOrderLoaderWorker/"] diff --git a/PARR.EsppOrderManagerWorker/Dockerfile b/PARR.EsppOrderManagerWorker/Dockerfile index aaef1677..dec319a5 100644 --- a/PARR.EsppOrderManagerWorker/Dockerfile +++ b/PARR.EsppOrderManagerWorker/Dockerfile @@ -4,6 +4,7 @@ FROM 10.99.253.167:8090/dotnet/runtime:9.0 AS base WORKDIR /app FROM 10.99.253.167:8090/dotnet/sdk:9.0 AS build +USER root WORKDIR /src COPY ["NuGet.config", "."] COPY ["PARR.EsppOrderManagerWorker/PARR.EsppOrderManagerWorker.csproj", "PARR.EsppOrderManagerWorker/"] diff --git a/PARR.EsppScheduleSyncWorker/Dockerfile b/PARR.EsppScheduleSyncWorker/Dockerfile index 6b3e85ed..abfaff16 100644 --- a/PARR.EsppScheduleSyncWorker/Dockerfile +++ b/PARR.EsppScheduleSyncWorker/Dockerfile @@ -4,6 +4,7 @@ FROM 10.99.253.167:8090/dotnet/runtime:9.0 AS base WORKDIR /app FROM 10.99.253.167:8090/dotnet/sdk:9.0 AS build +USER root WORKDIR /src COPY ["NuGet.config", "."] COPY ["PARR.EsppScheduleSyncWorker/PARR.EsppScheduleSyncWorker.csproj", "PARR.EsppScheduleSyncWorker/"] diff --git a/PARR.EsppTemplateSyncWorker/Dockerfile b/PARR.EsppTemplateSyncWorker/Dockerfile index 36d7184b..da0897b3 100644 --- a/PARR.EsppTemplateSyncWorker/Dockerfile +++ b/PARR.EsppTemplateSyncWorker/Dockerfile @@ -4,6 +4,7 @@ FROM 10.99.253.167:8090/dotnet/runtime:9.0 AS base WORKDIR /app FROM 10.99.253.167:8090/dotnet/sdk:9.0 AS build +USER root WORKDIR /src COPY ["NuGet.config", "."] COPY ["PARR.EsppTemplateSyncWorker/PARR.EsppTemplateSyncWorker.csproj", "PARR.EsppTemplateSyncWorker/"] diff --git a/PARR.JobAutoControlWorker/Dockerfile b/PARR.JobAutoControlWorker/Dockerfile index 79799ea3..dfc5aa09 100644 --- a/PARR.JobAutoControlWorker/Dockerfile +++ b/PARR.JobAutoControlWorker/Dockerfile @@ -8,6 +8,7 @@ WORKDIR /app # This stage is used to build the service project FROM 10.99.253.167:8090/dotnet/sdk:9.0 AS build ARG BUILD_CONFIGURATION=Release +USER root WORKDIR /src COPY ["NuGet.config", "."] COPY ["PARR.JobAutoControlWorker/PARR.JobAutoControlWorker.csproj", "PARR.JobAutoControlWorker/"] diff --git a/PARR.MasterWorker/Dockerfile b/PARR.MasterWorker/Dockerfile index 4af96c5d..1d64784a 100644 --- a/PARR.MasterWorker/Dockerfile +++ b/PARR.MasterWorker/Dockerfile @@ -4,6 +4,7 @@ FROM 10.99.253.167:8090/dotnet/runtime:9.0 AS base WORKDIR /app FROM 10.99.253.167:8090/dotnet/sdk:9.0 AS build +USER root WORKDIR /src COPY ["NuGet.config", "."] COPY ["PARR.MasterWorker/PARR.MasterWorker.csproj", "PARR.MasterWorker/"] diff --git a/PARR.NextRunWorker/Dockerfile b/PARR.NextRunWorker/Dockerfile index 713260d7..300ec6d7 100644 --- a/PARR.NextRunWorker/Dockerfile +++ b/PARR.NextRunWorker/Dockerfile @@ -5,6 +5,7 @@ WORKDIR /app FROM 10.99.253.167:8090/dotnet/sdk:9.0 AS build ARG BUILD_CONFIGURATION=Release +USER root WORKDIR /src COPY ["NuGet.config", "."] COPY ["PARR.NextRunWorker/PARR.NextRunWorker.csproj", "PARR.NextRunWorker/"] diff --git a/PARR.TaskReconciliationWorker/Dockerfile b/PARR.TaskReconciliationWorker/Dockerfile index 76032c28..b649892b 100644 --- a/PARR.TaskReconciliationWorker/Dockerfile +++ b/PARR.TaskReconciliationWorker/Dockerfile @@ -8,6 +8,7 @@ WORKDIR /app # This stage is used to build the service project FROM 10.99.253.167:8090/dotnet/sdk:7.0 AS build ARG BUILD_CONFIGURATION=Release +USER root WORKDIR /src COPY ["NuGet.config", "."] COPY ["PARR.TaskReconciliationWorker/PARR.TaskReconciliationWorker.csproj", "PARR.TaskReconciliationWorker/"] diff --git a/PARR.TemplateActivatorWorker/Dockerfile b/PARR.TemplateActivatorWorker/Dockerfile index 67733d7f..ca05f6f2 100644 --- a/PARR.TemplateActivatorWorker/Dockerfile +++ b/PARR.TemplateActivatorWorker/Dockerfile @@ -5,6 +5,7 @@ WORKDIR /app FROM 10.99.253.167:8090/dotnet/sdk:9.0 AS build ARG BUILD_CONFIGURATION=Release +USER root WORKDIR /src COPY ["NuGet.config", "."] COPY ["PARR.TemplateActivatorWorker/PARR.TemplateActivatorWorker.csproj", "PARR.TemplateActivatorWorker/"] diff --git a/PARR.TemplateDistributorWorker/Dockerfile b/PARR.TemplateDistributorWorker/Dockerfile index 92f9b6a4..d36c5bf3 100644 --- a/PARR.TemplateDistributorWorker/Dockerfile +++ b/PARR.TemplateDistributorWorker/Dockerfile @@ -5,6 +5,7 @@ WORKDIR /app FROM 10.99.253.167:8090/dotnet/sdk:9.0 AS build ARG BUILD_CONFIGURATION=Release +USER root WORKDIR /src COPY ["NuGet.config", "."] COPY ["PARR.TemplateDistributorWorker/PARR.TemplateDistributorWorker.csproj", "PARR.TemplateDistributorWorker/"] diff --git a/PARR.TemplateGeneratorWorker/Dockerfile b/PARR.TemplateGeneratorWorker/Dockerfile index 23f3e135..2c40d98d 100644 --- a/PARR.TemplateGeneratorWorker/Dockerfile +++ b/PARR.TemplateGeneratorWorker/Dockerfile @@ -8,6 +8,7 @@ WORKDIR /app # This stage is used to build the service project FROM 10.99.253.167:8090/dotnet/sdk:9.0 AS build ARG BUILD_CONFIGURATION=Release +USER root WORKDIR /src COPY ["NuGet.config", "."] COPY ["PARR.TemplateGeneratorWorker/PARR.TemplateGeneratorWorker.csproj", "PARR.TemplateGeneratorWorker/"] diff --git a/PARR.TemplateMatcherWorker/Dockerfile b/PARR.TemplateMatcherWorker/Dockerfile index 21b2cd0a..0a13c516 100644 --- a/PARR.TemplateMatcherWorker/Dockerfile +++ b/PARR.TemplateMatcherWorker/Dockerfile @@ -8,6 +8,7 @@ WORKDIR /app # This stage is used to build the service project FROM 10.99.253.167:8090/dotnet/sdk:9.0 AS build ARG BUILD_CONFIGURATION=Release +USER root WORKDIR /src COPY ["NuGet.config", "."] COPY ["PARR.TemplateMatcherWorker/PARR.TemplateMatcherWorker.csproj", "PARR.TemplateMatcherWorker/"] diff --git a/PARR.TemplateUpdaterWorker/Dockerfile b/PARR.TemplateUpdaterWorker/Dockerfile index 0f996b42..899cbf47 100644 --- a/PARR.TemplateUpdaterWorker/Dockerfile +++ b/PARR.TemplateUpdaterWorker/Dockerfile @@ -8,6 +8,7 @@ WORKDIR /app # This stage is used to build the service project FROM 10.99.253.167:8090/dotnet/sdk:9.0 AS build ARG BUILD_CONFIGURATION=Release +USER root WORKDIR /src COPY ["NuGet.config", "."] COPY ["PARR.TemplateUpdaterWorker/PARR.TemplateUpdaterWorker.csproj", "PARR.TemplateUpdaterWorker/"] diff --git a/PARR.WorkloadBuilderWorker/Dockerfile b/PARR.WorkloadBuilderWorker/Dockerfile index 949851ba..0d816757 100644 --- a/PARR.WorkloadBuilderWorker/Dockerfile +++ b/PARR.WorkloadBuilderWorker/Dockerfile @@ -8,6 +8,7 @@ WORKDIR /app # This stage is used to build the service project FROM 10.99.253.167:8090/dotnet/sdk:9.0 AS build ARG BUILD_CONFIGURATION=Release +USER root WORKDIR /src COPY ["NuGet.config", "."] COPY ["PARR.WorkloadBuilderWorker/PARR.WorkloadBuilderWorker.csproj", "PARR.WorkloadBuilderWorker/"]