Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stopped building api and identity containers #221

Open
tam481 opened this issue Dec 13, 2024 · 0 comments
Open

Stopped building api and identity containers #221

tam481 opened this issue Dec 13, 2024 · 0 comments

Comments

@tam481
Copy link

tam481 commented Dec 13, 2024

Hello
I am not a developer so I don't know what the issue is but the current version has stopped generating the api and identity containers.

Here is the error I keep getting:

Building BitBetter for BitWarden version 2024.12.1
+ dotnet restore
  Determining projects to restore...
  Restored /bitBetter/bitBetter.csproj (in 1.33 sec).
+ dotnet publish
  Determining projects to restore...
  All projects are up-to-date for restore.
  bitBetter -> /bitBetter/bin/Release/net8.0/bitBetter.dll
  bitBetter -> /bitBetter/bin/Release/net8.0/publish/
[+] Building 0.7s (8/8) FINISHED                                                                                                                                                        docker:default
 => [internal] load build definition from Dockerfile                                                                                                                                              0.0s
 => => transferring dockerfile: 370B                                                                                                                                                              0.0s
 => WARN: InvalidDefaultArgInFrom: Default value for ARG ${BITWARDEN_TAG} results in empty or invalid base image name (line 2)                                                                    0.0s
 => [internal] load metadata for docker.io/bitwarden/api:2024.12.1                                                                                                                                0.4s
 => [internal] load .dockerignore                                                                                                                                                                 0.0s
 => => transferring context: 2B                                                                                                                                                                   0.0s
 => CACHED [1/4] FROM docker.io/bitwarden/api:2024.12.1@sha256:0867666ac4099c16553159ee958859f116a077776bdbd27d7b5d5dac5aaa47cc                                                                   0.0s
 => [internal] load build context                                                                                                                                                                 0.0s
 => => transferring context: 2.19kB                                                                                                                                                               0.0s
 => [2/4] COPY bin/Release/net8.0/publish/* /bitBetter/                                                                                                                                           0.0s
 => [3/4] COPY ./.keys/cert.cert /newLicensing.cer                                                                                                                                                0.0s
 => ERROR [4/4] RUN set -e; set -x;     dotnet /bitBetter/bitBetter.dll &&     mv /app/Core.dll /app/Core.orig.dll &&     mv /app/modified.dll /app/Core.dll &&     rm -rf /bitBetter && rm -rf   0.2s
------
 > [4/4] RUN set -e; set -x;     dotnet /bitBetter/bitBetter.dll &&     mv /app/Core.dll /app/Core.orig.dll &&     mv /app/modified.dll /app/Core.dll &&     rm -rf /bitBetter && rm -rf /newLicensing.cer:
0.165 + dotnet /bitBetter/bitBetter.dll
0.168 A JSON parsing exception occurred in [/bitBetter/bitBetter.runtimeconfig.json], offset 0 (line 1, column 1): The document is empty.
0.168 Invalid runtimeconfig.json [/bitBetter/bitBetter.runtimeconfig.json] [/bitBetter/bitBetter.runtimeconfig.dev.json]
------

 1 warning found (use docker --debug to expand):
 - InvalidDefaultArgInFrom: Default value for ARG ${BITWARDEN_TAG} results in empty or invalid base image name (line 2)
Dockerfile:7
--------------------
   6 |
   7 | >>> RUN set -e; set -x; \
   8 | >>>     dotnet /bitBetter/bitBetter.dll && \
   9 | >>>     mv /app/Core.dll /app/Core.orig.dll && \
  10 | >>>     mv /app/modified.dll /app/Core.dll && \
  11 | >>>     rm -rf /bitBetter && rm -rf /newLicensing.cer
  12 |
--------------------
ERROR: failed to solve: process "/bin/sh -c set -e; set -x;     dotnet /bitBetter/bitBetter.dll &&     mv /app/Core.dll /app/Core.orig.dll &&     mv /app/modified.dll /app/Core.dll &&     rm -rf /bitBetter && rm -rf /newLicensing.cer" did not complete successfully: exit code: 147
[+] Building 0.7s (8/8) FINISHED                                                                                                                                                        docker:default
 => [internal] load build definition from Dockerfile                                                                                                                                              0.0s
 => => transferring dockerfile: 370B                                                                                                                                                              0.0s
 => WARN: InvalidDefaultArgInFrom: Default value for ARG ${BITWARDEN_TAG} results in empty or invalid base image name (line 2)                                                                    0.0s
 => [internal] load metadata for docker.io/bitwarden/identity:2024.12.1                                                                                                                           0.4s
 => [internal] load .dockerignore                                                                                                                                                                 0.0s
 => => transferring context: 2B                                                                                                                                                                   0.0s
 => CACHED [1/4] FROM docker.io/bitwarden/identity:2024.12.1@sha256:baf3d51a8b3bd089c8e65195088685deb34be23c58e20ac1ec3298a3c2b39399                                                              0.0s
 => [internal] load build context                                                                                                                                                                 0.0s
 => => transferring context: 796B                                                                                                                                                                 0.0s
 => [2/4] COPY bin/Release/net8.0/publish/* /bitBetter/                                                                                                                                           0.0s
 => [3/4] COPY ./.keys/cert.cert /newLicensing.cer                                                                                                                                                0.0s
 => ERROR [4/4] RUN set -e; set -x;     dotnet /bitBetter/bitBetter.dll &&     mv /app/Core.dll /app/Core.orig.dll &&     mv /app/modified.dll /app/Core.dll &&     rm -rf /bitBetter && rm -rf   0.2s
------
 > [4/4] RUN set -e; set -x;     dotnet /bitBetter/bitBetter.dll &&     mv /app/Core.dll /app/Core.orig.dll &&     mv /app/modified.dll /app/Core.dll &&     rm -rf /bitBetter && rm -rf /newLicensing.cer:
0.161 + dotnet /bitBetter/bitBetter.dll
0.164 A JSON parsing exception occurred in [/bitBetter/bitBetter.runtimeconfig.json], offset 0 (line 1, column 1): The document is empty.
0.164 Invalid runtimeconfig.json [/bitBetter/bitBetter.runtimeconfig.json] [/bitBetter/bitBetter.runtimeconfig.dev.json]
------

 1 warning found (use docker --debug to expand):
 - InvalidDefaultArgInFrom: Default value for ARG ${BITWARDEN_TAG} results in empty or invalid base image name (line 2)
Dockerfile:7
--------------------
   6 |
   7 | >>> RUN set -e; set -x; \
   8 | >>>     dotnet /bitBetter/bitBetter.dll && \
   9 | >>>     mv /app/Core.dll /app/Core.orig.dll && \
  10 | >>>     mv /app/modified.dll /app/Core.dll && \
  11 | >>>     rm -rf /bitBetter && rm -rf /newLicensing.cer
  12 |
--------------------
ERROR: failed to solve: process "/bin/sh -c set -e; set -x;     dotnet /bitBetter/bitBetter.dll &&     mv /app/Core.dll /app/Core.orig.dll &&     mv /app/modified.dll /app/Core.dll &&     rm -rf /bitBetter && rm -rf /newLicensing.cer" did not complete successfully: exit code: 147
Error response from daemon: No such image: bitbetter/api:latest
Error response from daemon: No such image: bitbetter/identity:latest
Error response from daemon: No such image: bitbetter/api:latest
Error response from daemon: No such image: bitbetter/identity:latest
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant