1
0
mirror of https://github.com/bitwarden/server.git synced 2025-05-25 05:21:03 -05:00

fix: add missing build args to remaining images

This commit is contained in:
tangowithfoxtrot 2025-05-19 13:42:24 -07:00
parent 9d4a96b078
commit 50df44ba87
No known key found for this signature in database
4 changed files with 11 additions and 4 deletions

View File

@ -36,6 +36,8 @@ RUN . /tmp/rid.txt && dotnet restore -r $RID
# Build project # Build project
RUN npm run build RUN npm run build
RUN . /tmp/rid.txt && dotnet publish \ RUN . /tmp/rid.txt && dotnet publish \
-c release \
--no-restore \
--self-contained \ --self-contained \
/p:PublishSingleFile=true \ /p:PublishSingleFile=true \
-r $RID \ -r $RID \

View File

@ -28,6 +28,8 @@ RUN . /tmp/rid.txt && dotnet restore -r $RID
# Build project # Build project
WORKDIR /source/util/Server WORKDIR /source/util/Server
RUN . /tmp/rid.txt && dotnet publish \ RUN . /tmp/rid.txt && dotnet publish \
-c release \
--no-restore \
--self-contained \ --self-contained \
/p:PublishSingleFile=true \ /p:PublishSingleFile=true \
-r $RID \ -r $RID \

View File

@ -43,6 +43,8 @@ COPY .editorconfig /source
# Build project # Build project
WORKDIR /source/util/MsSqlMigratorUtility WORKDIR /source/util/MsSqlMigratorUtility
RUN . /tmp/rid.txt && dotnet publish \ RUN . /tmp/rid.txt && dotnet publish \
-c release \
--no-restore \
--self-contained \ --self-contained \
/p:PublishSingleFile=true \ /p:PublishSingleFile=true \
-r $RID \ -r $RID \

View File

@ -31,6 +31,7 @@ RUN . /tmp/rid.txt && dotnet publish \
-c release \ -c release \
--no-restore \ --no-restore \
--self-contained \ --self-contained \
/p:PublishSingleFile=true \
-r $RID \ -r $RID \
-o out -o out