diff --git a/bitwarden_license/src/Scim/Dockerfile b/bitwarden_license/src/Scim/Dockerfile index 9aa08e880e..1d01ffa07c 100644 --- a/bitwarden_license/src/Scim/Dockerfile +++ b/bitwarden_license/src/Scim/Dockerfile @@ -38,7 +38,6 @@ COPY src/Core/. ./src/Core/ COPY src/Infrastructure.Dapper/. ./src/Infrastructure.Dapper/ COPY src/Infrastructure.EntityFramework/. ./src/Infrastructure.EntityFramework/ COPY src/SharedWeb/. ./src/SharedWeb/ -COPY .git/. ./.git/ # Build project WORKDIR /source/bitwarden_license/src/Scim diff --git a/bitwarden_license/src/Sso/Dockerfile b/bitwarden_license/src/Sso/Dockerfile index 9de0519605..fc58c334c4 100644 --- a/bitwarden_license/src/Sso/Dockerfile +++ b/bitwarden_license/src/Sso/Dockerfile @@ -55,7 +55,6 @@ COPY src/Core/. ./src/Core/ COPY src/Infrastructure.Dapper/. ./src/Infrastructure.Dapper/ COPY src/Infrastructure.EntityFramework/. ./src/Infrastructure.EntityFramework/ COPY src/SharedWeb/. ./src/SharedWeb/ -COPY .git/. ./.git/ # Build project WORKDIR /source/bitwarden_license/src/Sso diff --git a/src/Admin/Dockerfile b/src/Admin/Dockerfile index 68a147b7cc..2e3b550387 100644 --- a/src/Admin/Dockerfile +++ b/src/Admin/Dockerfile @@ -74,7 +74,6 @@ COPY util/SqliteMigrations/. ./util/SqliteMigrations/ COPY util/EfShared/. ./util/EfShared/ COPY bitwarden_license/src/Commercial.Core/. ./bitwarden_license/src/Commercial.Core/ COPY bitwarden_license/src/Commercial.Infrastructure.EntityFramework/. ./bitwarden_license/src/Commercial.Infrastructure.EntityFramework/ -COPY .git/. ./.git/ # Build project WORKDIR /source/src/Admin diff --git a/src/Api/Dockerfile b/src/Api/Dockerfile index 53ef5e849c..63f5cdb1f8 100644 --- a/src/Api/Dockerfile +++ b/src/Api/Dockerfile @@ -42,7 +42,6 @@ COPY src/Infrastructure.EntityFramework/. ./src/Infrastructure.EntityFramework/ COPY src/SharedWeb/. ./src/SharedWeb/ COPY bitwarden_license/src/Commercial.Core/. ./bitwarden_license/src/Commercial.Core/ COPY bitwarden_license/src/Commercial.Infrastructure.EntityFramework/. ./bitwarden_license/src/Commercial.Infrastructure.EntityFramework/ -COPY .git/. ./.git/ # Build project WORKDIR /source/src/Api diff --git a/src/Billing/Dockerfile b/src/Billing/Dockerfile index 11b1539a11..cc327eaa64 100644 --- a/src/Billing/Dockerfile +++ b/src/Billing/Dockerfile @@ -38,7 +38,6 @@ COPY src/Core/. ./src/Core/ COPY src/Infrastructure.Dapper/. ./src/Infrastructure.Dapper/ COPY src/Infrastructure.EntityFramework/. ./src/Infrastructure.EntityFramework/ COPY src/SharedWeb/. ./src/SharedWeb/ -COPY .git/. ./.git/ # Build project WORKDIR /source/src/Billing diff --git a/src/Events/Dockerfile b/src/Events/Dockerfile index 3d2c119e11..9882c8dec0 100644 --- a/src/Events/Dockerfile +++ b/src/Events/Dockerfile @@ -38,7 +38,6 @@ COPY src/Core/. ./src/Core/ COPY src/Infrastructure.Dapper/. ./src/Infrastructure.Dapper/ COPY src/Infrastructure.EntityFramework/. ./src/Infrastructure.EntityFramework/ COPY src/SharedWeb/. ./src/SharedWeb/ -COPY .git/. ./.git/ # Build project WORKDIR /source/src/Events diff --git a/src/EventsProcessor/Dockerfile b/src/EventsProcessor/Dockerfile index 10de833d4e..47ef10edac 100644 --- a/src/EventsProcessor/Dockerfile +++ b/src/EventsProcessor/Dockerfile @@ -38,7 +38,6 @@ COPY src/Core/. ./src/Core/ COPY src/Infrastructure.Dapper/. ./src/Infrastructure.Dapper/ COPY src/Infrastructure.EntityFramework/. ./src/Infrastructure.EntityFramework/ COPY src/SharedWeb/. ./src/SharedWeb/ -COPY .git/. ./.git/ # Build project WORKDIR /source/src/EventsProcessor diff --git a/src/Icons/Dockerfile b/src/Icons/Dockerfile index 39dcb01059..7bfa526908 100644 --- a/src/Icons/Dockerfile +++ b/src/Icons/Dockerfile @@ -38,7 +38,6 @@ COPY src/Core/. ./src/Core/ COPY src/Infrastructure.Dapper/. ./src/Infrastructure.Dapper/ COPY src/Infrastructure.EntityFramework/. ./src/Infrastructure.EntityFramework/ COPY src/SharedWeb/. ./src/SharedWeb/ -COPY .git/. ./.git/ # Build project WORKDIR /source/src/Icons diff --git a/src/Identity/Dockerfile b/src/Identity/Dockerfile index aa1d9e4a28..9ce6dc513a 100644 --- a/src/Identity/Dockerfile +++ b/src/Identity/Dockerfile @@ -38,7 +38,6 @@ COPY src/Core/. ./src/Core/ COPY src/Infrastructure.Dapper/. ./src/Infrastructure.Dapper/ COPY src/Infrastructure.EntityFramework/. ./src/Infrastructure.EntityFramework/ COPY src/SharedWeb/. ./src/SharedWeb/ -COPY .git/. ./.git/ # Build project WORKDIR /source/src/Identity diff --git a/src/Notifications/Dockerfile b/src/Notifications/Dockerfile index 6953e8f60c..9d3a0da449 100644 --- a/src/Notifications/Dockerfile +++ b/src/Notifications/Dockerfile @@ -38,7 +38,6 @@ COPY src/Notifications/. ./src/Notifications/ COPY src/Infrastructure.Dapper/. ./src/Infrastructure.Dapper/ COPY src/Infrastructure.EntityFramework/. ./src/Infrastructure.EntityFramework/ COPY src/SharedWeb/. ./src/SharedWeb/ -COPY .git/. ./.git/ # Build project WORKDIR /source/src/Notifications diff --git a/util/Attachments/Dockerfile b/util/Attachments/Dockerfile index 0b04dc88aa..d1c3575616 100644 --- a/util/Attachments/Dockerfile +++ b/util/Attachments/Dockerfile @@ -30,7 +30,6 @@ RUN . /tmp/rid.txt && dotnet restore -r $RID # Copy required project files WORKDIR /source COPY util/Server/. ./util/Server/ -COPY .git/. ./.git/ # Build project WORKDIR /source/util/Server diff --git a/util/MsSqlMigratorUtility/Dockerfile b/util/MsSqlMigratorUtility/Dockerfile index 9efc0bbdf9..a7afa9f95e 100644 --- a/util/MsSqlMigratorUtility/Dockerfile +++ b/util/MsSqlMigratorUtility/Dockerfile @@ -35,7 +35,6 @@ WORKDIR /source COPY src/Core/. ./src/Core/ COPY util/Migrator/. ./util/Migrator/ COPY util/MsSqlMigratorUtility/. ./util/MsSqlMigratorUtility/ -COPY .git/. ./.git/ # Build project WORKDIR /source/util/MsSqlMigratorUtility diff --git a/util/Setup/Dockerfile b/util/Setup/Dockerfile index a4d292565f..46b6b5916f 100644 --- a/util/Setup/Dockerfile +++ b/util/Setup/Dockerfile @@ -34,7 +34,6 @@ WORKDIR /source COPY src/Core/. ./src/Core/ COPY util/Migrator/. ./util/Migrator/ COPY util/Setup/. ./util/Setup/ -COPY .git/. ./.git/ # Build project WORKDIR /source/util/Setup