From 8e399b83966ff115323d59a8439f47d2bab89e19 Mon Sep 17 00:00:00 2001 From: tangowithfoxtrot <5676771+tangowithfoxtrot@users.noreply.github.com> Date: Mon, 19 May 2025 13:43:58 -0700 Subject: [PATCH] fmt: apply consistent spacing and rm redundant WORKDIR directive --- bitwarden_license/src/Scim/Dockerfile | 8 +++----- bitwarden_license/src/Sso/Dockerfile | 2 -- src/Api/Dockerfile | 2 -- src/Billing/Dockerfile | 2 -- src/Events/Dockerfile | 2 -- src/EventsProcessor/Dockerfile | 2 -- src/Icons/Dockerfile | 2 -- src/Identity/Dockerfile | 2 -- src/Notifications/Dockerfile | 2 -- util/Attachments/Dockerfile | 2 -- util/Setup/Dockerfile | 2 -- 11 files changed, 3 insertions(+), 25 deletions(-) diff --git a/bitwarden_license/src/Scim/Dockerfile b/bitwarden_license/src/Scim/Dockerfile index df284de83a..a0c5c88e49 100644 --- a/bitwarden_license/src/Scim/Dockerfile +++ b/bitwarden_license/src/Scim/Dockerfile @@ -9,11 +9,11 @@ ARG TARGETPLATFORM # Determine proper runtime value for .NET # We put the value in a file to be read by later layers. RUN if [ "$TARGETPLATFORM" = "linux/amd64" ]; then \ - RID=linux-x64 ; \ + RID=linux-x64 ; \ elif [ "$TARGETPLATFORM" = "linux/arm64" ]; then \ - RID=linux-arm64 ; \ + RID=linux-arm64 ; \ elif [ "$TARGETPLATFORM" = "linux/arm/v7" ]; then \ - RID=linux-arm ; \ + RID=linux-arm ; \ fi \ && echo "RID=$RID" > /tmp/rid.txt @@ -34,8 +34,6 @@ RUN . /tmp/rid.txt && dotnet publish \ -r $RID \ -o out -WORKDIR /app - ############################################### # App stage # ############################################### diff --git a/bitwarden_license/src/Sso/Dockerfile b/bitwarden_license/src/Sso/Dockerfile index ab9384d7d2..d5d012b416 100644 --- a/bitwarden_license/src/Sso/Dockerfile +++ b/bitwarden_license/src/Sso/Dockerfile @@ -34,8 +34,6 @@ RUN . /tmp/rid.txt && dotnet publish \ -r $RID \ -o out -WORKDIR /app - ############################################### # App stage # ############################################### diff --git a/src/Api/Dockerfile b/src/Api/Dockerfile index a37c0ae8d4..29adde878c 100644 --- a/src/Api/Dockerfile +++ b/src/Api/Dockerfile @@ -34,8 +34,6 @@ RUN . /tmp/rid.txt && dotnet publish \ -r $RID \ -o out -WORKDIR /app - ############################################### # App stage # ############################################### diff --git a/src/Billing/Dockerfile b/src/Billing/Dockerfile index 50059cfcbd..5eb4e9c0e0 100644 --- a/src/Billing/Dockerfile +++ b/src/Billing/Dockerfile @@ -34,8 +34,6 @@ RUN . /tmp/rid.txt && dotnet publish \ -r $RID \ -o out -WORKDIR /app - ############################################### # App stage # ############################################### diff --git a/src/Events/Dockerfile b/src/Events/Dockerfile index 490a862ebf..58fbbe3df1 100644 --- a/src/Events/Dockerfile +++ b/src/Events/Dockerfile @@ -34,8 +34,6 @@ RUN . /tmp/rid.txt && dotnet publish \ -r $RID \ -o out -WORKDIR /app - ############################################### # App stage # ############################################### diff --git a/src/EventsProcessor/Dockerfile b/src/EventsProcessor/Dockerfile index 89ba4c3137..928af7fb86 100644 --- a/src/EventsProcessor/Dockerfile +++ b/src/EventsProcessor/Dockerfile @@ -34,8 +34,6 @@ RUN . /tmp/rid.txt && dotnet publish \ -r $RID \ -o out -WORKDIR /app - ############################################### # App stage # ############################################### diff --git a/src/Icons/Dockerfile b/src/Icons/Dockerfile index 5f7c4e8e8e..16c88e22fa 100644 --- a/src/Icons/Dockerfile +++ b/src/Icons/Dockerfile @@ -33,8 +33,6 @@ RUN . /tmp/rid.txt && dotnet publish \ -r $RID \ -o out -WORKDIR /app - ############################################### # App stage # ############################################### diff --git a/src/Identity/Dockerfile b/src/Identity/Dockerfile index dd81a05f33..9b9ae41334 100644 --- a/src/Identity/Dockerfile +++ b/src/Identity/Dockerfile @@ -34,8 +34,6 @@ RUN . /tmp/rid.txt && dotnet publish \ -r $RID \ -o out -WORKDIR /app - ############################################### # App stage # ############################################### diff --git a/src/Notifications/Dockerfile b/src/Notifications/Dockerfile index 2d7aa34069..9cbc10e664 100644 --- a/src/Notifications/Dockerfile +++ b/src/Notifications/Dockerfile @@ -34,8 +34,6 @@ RUN . /tmp/rid.txt && dotnet publish \ -r $RID \ -o out -WORKDIR /app - ############################################### # App stage # ############################################### diff --git a/util/Attachments/Dockerfile b/util/Attachments/Dockerfile index fc5445762c..24a315e99d 100644 --- a/util/Attachments/Dockerfile +++ b/util/Attachments/Dockerfile @@ -35,8 +35,6 @@ RUN . /tmp/rid.txt && dotnet publish \ -r $RID \ -o out -WORKDIR /app - ############################################### # App stage # ############################################### diff --git a/util/Setup/Dockerfile b/util/Setup/Dockerfile index 3c6f4063a3..b94c1f564c 100644 --- a/util/Setup/Dockerfile +++ b/util/Setup/Dockerfile @@ -35,8 +35,6 @@ RUN . /tmp/rid.txt && dotnet publish \ -r $RID \ -o out -WORKDIR /app - ############################################### # App stage # ###############################################