From 0f5d033b686fd365b1aa307b6c4671a6d4aa9e5a Mon Sep 17 00:00:00 2001 From: Vince Grassia <593223+vgrassia@users.noreply.github.com> Date: Tue, 11 Mar 2025 10:47:11 -0400 Subject: [PATCH] Add .editorconfig to Dockerfiles --- bitwarden_license/src/Scim/Dockerfile | 1 + bitwarden_license/src/Sso/Dockerfile | 1 + src/Admin/Dockerfile | 1 + src/Api/Dockerfile | 1 + src/Billing/Dockerfile | 1 + src/Events/Dockerfile | 1 + src/EventsProcessor/Dockerfile | 1 + src/Icons/Dockerfile | 1 + src/Identity/Dockerfile | 1 + src/Notifications/Dockerfile | 1 + util/Attachments/Dockerfile | 1 + util/MsSqlMigratorUtility/Dockerfile | 1 + util/Setup/Dockerfile | 1 + 13 files changed, 13 insertions(+) diff --git a/bitwarden_license/src/Scim/Dockerfile b/bitwarden_license/src/Scim/Dockerfile index c3d97e4758..9aa08e880e 100644 --- a/bitwarden_license/src/Scim/Dockerfile +++ b/bitwarden_license/src/Scim/Dockerfile @@ -25,6 +25,7 @@ COPY src/Infrastructure.Dapper/*.csproj ./src/Infrastructure.Dapper/ COPY src/Infrastructure.EntityFramework/*.csproj ./src/Infrastructure.EntityFramework/ COPY src/SharedWeb/*.csproj ./src/SharedWeb/ COPY Directory.Build.props . +COPY .editorconfig . # Restore project dependencies and tools WORKDIR /source/bitwarden_license/src/Scim diff --git a/bitwarden_license/src/Sso/Dockerfile b/bitwarden_license/src/Sso/Dockerfile index a25eba6ae9..f72823bb10 100644 --- a/bitwarden_license/src/Sso/Dockerfile +++ b/bitwarden_license/src/Sso/Dockerfile @@ -42,6 +42,7 @@ COPY src/Infrastructure.Dapper/*.csproj ./src/Infrastructure.Dapper/ COPY src/Infrastructure.EntityFramework/*.csproj ./src/Infrastructure.EntityFramework/ COPY src/SharedWeb/*.csproj ./src/SharedWeb/ COPY Directory.Build.props . +COPY .editorconfig . # Restore project dependencies and tools WORKDIR /source/bitwarden_license/src/Sso diff --git a/src/Admin/Dockerfile b/src/Admin/Dockerfile index 1f9626530d..f419452549 100644 --- a/src/Admin/Dockerfile +++ b/src/Admin/Dockerfile @@ -54,6 +54,7 @@ COPY util/SqliteMigrations/*.csproj ./util/SqliteMigrations/ COPY bitwarden_license/src/Commercial.Core/*.csproj ./bitwarden_license/src/Commercial.Core/ COPY bitwarden_license/src/Commercial.Infrastructure.EntityFramework/*.csproj ./bitwarden_license/src/Commercial.Infrastructure.EntityFramework/ COPY Directory.Build.props . +COPY .editorconfig . # Restore project dependencies and tools WORKDIR /source/src/Admin diff --git a/src/Api/Dockerfile b/src/Api/Dockerfile index d88e31bc22..53ef5e849c 100644 --- a/src/Api/Dockerfile +++ b/src/Api/Dockerfile @@ -27,6 +27,7 @@ COPY src/SharedWeb/*.csproj ./src/SharedWeb/ COPY bitwarden_license/src/Commercial.Core/*.csproj ./bitwarden_license/src/Commercial.Core/ COPY bitwarden_license/src/Commercial.Infrastructure.EntityFramework/*.csproj ./bitwarden_license/src/Commercial.Infrastructure.EntityFramework/ COPY Directory.Build.props . +COPY .editorconfig . # Restore project dependencies and tools WORKDIR /source/src/Api diff --git a/src/Billing/Dockerfile b/src/Billing/Dockerfile index 1e47c2ada9..11b1539a11 100644 --- a/src/Billing/Dockerfile +++ b/src/Billing/Dockerfile @@ -25,6 +25,7 @@ COPY src/Infrastructure.Dapper/*.csproj ./src/Infrastructure.Dapper/ COPY src/Infrastructure.EntityFramework/*.csproj ./src/Infrastructure.EntityFramework/ COPY src/SharedWeb/*.csproj ./src/SharedWeb/ COPY Directory.Build.props . +COPY .editorconfig . # Restore project dependencies and tools WORKDIR /source/src/Billing diff --git a/src/Events/Dockerfile b/src/Events/Dockerfile index 6cc8ef2438..3d2c119e11 100644 --- a/src/Events/Dockerfile +++ b/src/Events/Dockerfile @@ -25,6 +25,7 @@ COPY src/Infrastructure.Dapper/*.csproj ./src/Infrastructure.Dapper/ COPY src/Infrastructure.EntityFramework/*.csproj ./src/Infrastructure.EntityFramework/ COPY src/SharedWeb/*.csproj ./src/SharedWeb/ COPY Directory.Build.props . +COPY .editorconfig . # Restore project dependencies and tools WORKDIR /source/src/Events diff --git a/src/EventsProcessor/Dockerfile b/src/EventsProcessor/Dockerfile index 16a13851aa..10de833d4e 100644 --- a/src/EventsProcessor/Dockerfile +++ b/src/EventsProcessor/Dockerfile @@ -25,6 +25,7 @@ COPY src/Infrastructure.Dapper/*.csproj ./src/Infrastructure.Dapper/ COPY src/Infrastructure.EntityFramework/*.csproj ./src/Infrastructure.EntityFramework/ COPY src/SharedWeb/*.csproj ./src/SharedWeb/ COPY Directory.Build.props . +COPY .editorconfig . # Restore project dependencies and tools WORKDIR /source/src/EventsProcessor diff --git a/src/Icons/Dockerfile b/src/Icons/Dockerfile index 12d8700179..39dcb01059 100644 --- a/src/Icons/Dockerfile +++ b/src/Icons/Dockerfile @@ -25,6 +25,7 @@ COPY src/Infrastructure.Dapper/*.csproj ./src/Infrastructure.Dapper/ COPY src/Infrastructure.EntityFramework/*.csproj ./src/Infrastructure.EntityFramework/ COPY src/SharedWeb/*.csproj ./src/SharedWeb/ COPY Directory.Build.props . +COPY .editorconfig . # Restore project dependencies and tools WORKDIR /source/src/Icons diff --git a/src/Identity/Dockerfile b/src/Identity/Dockerfile index 715f779b27..aa1d9e4a28 100644 --- a/src/Identity/Dockerfile +++ b/src/Identity/Dockerfile @@ -25,6 +25,7 @@ COPY src/Infrastructure.Dapper/*.csproj ./src/Infrastructure.Dapper/ COPY src/Infrastructure.EntityFramework/*.csproj ./src/Infrastructure.EntityFramework/ COPY src/SharedWeb/*.csproj ./src/SharedWeb/ COPY Directory.Build.props . +COPY .editorconfig . # Restore project dependencies and tools WORKDIR /source/src/Identity diff --git a/src/Notifications/Dockerfile b/src/Notifications/Dockerfile index fc42b07542..6953e8f60c 100644 --- a/src/Notifications/Dockerfile +++ b/src/Notifications/Dockerfile @@ -25,6 +25,7 @@ COPY src/Infrastructure.Dapper/*.csproj ./src/Infrastructure.Dapper/ COPY src/Infrastructure.EntityFramework/*.csproj ./src/Infrastructure.EntityFramework/ COPY src/SharedWeb/*.csproj ./src/SharedWeb/ COPY Directory.Build.props . +COPY .editorconfig . # Restore project dependencies and tools WORKDIR /source/src/Notifications diff --git a/util/Attachments/Dockerfile b/util/Attachments/Dockerfile index 5dc211d148..0b04dc88aa 100644 --- a/util/Attachments/Dockerfile +++ b/util/Attachments/Dockerfile @@ -21,6 +21,7 @@ RUN if [ "$TARGETPLATFORM" = "linux/amd64" ]; then \ WORKDIR /source COPY util/Server/*.csproj ./util/Server/ COPY Directory.Build.props . +COPY .editorconfig . # Restore project dependencies and tools WORKDIR /source/util/Server diff --git a/util/MsSqlMigratorUtility/Dockerfile b/util/MsSqlMigratorUtility/Dockerfile index 60caa23b26..9efc0bbdf9 100644 --- a/util/MsSqlMigratorUtility/Dockerfile +++ b/util/MsSqlMigratorUtility/Dockerfile @@ -24,6 +24,7 @@ COPY src/Core/*.csproj ./src/Core/ COPY util/Migrator/*.csproj ./util/Migrator/ COPY util/MsSqlMigratorUtility/*.csproj ./util/MsSqlMigratorUtility/ COPY Directory.Build.props . +COPY .editorconfig . # Restore project dependencies and tools WORKDIR /source/util/MsSqlMigratorUtility diff --git a/util/Setup/Dockerfile b/util/Setup/Dockerfile index 8a7c4d1103..a4d292565f 100644 --- a/util/Setup/Dockerfile +++ b/util/Setup/Dockerfile @@ -23,6 +23,7 @@ COPY src/Core/*.csproj ./src/Core/ COPY util/Migrator/*.csproj ./util/Migrator/ COPY util/Setup/*.csproj ./util/Setup/ COPY Directory.Build.props . +COPY .editorconfig . # Restore project dependencies and tools WORKDIR /source/util/Setup