I am trying to use the unified branch to accomplish this, I edited the .servers/serverlist.txt with the following based on the content in the readme file:
=> => naming to docker.io/bitbetter/bitbetter 0.0s
1 warning found:
- FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 1)
The 'as' keyword should match the case of the 'from' keyword
More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/
Dockerfile:1
--------------------
1 | >>> FROM mcr.microsoft.com/dotnet/sdk:8.0 as build
2 | WORKDIR /bitBetter
3 |
--------------------
Update (or get) bitwarden source container: Y
=> => naming to docker.io/bitbetter/licensegen 0.0s
1 warning found:
- FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 1)
The 'as' keyword should match the case of the 'from' keyword
More info: https://docs.docker.com/go/dockerfile/rule/from-as-casing/
Dockerfile:1
--------------------
1 | >>> FROM mcr.microsoft.com/dotnet/sdk:8.0 as build
2 | WORKDIR /licenseGen
3 |
--------------------
But there doesn't appear to be any content around version specifications in the README.MD file in the main repo. I am a bit lost based on the readme instructions about what I need to modify or change.
Hey,
This is a brand new setup for me, and am trying to do this with the self-hosted docker-compose file repo in mind.
I am trying to use the unified branch to accomplish this, I edited the
.servers/serverlist.txt
with the following based on the content in the readme file:However, when trying to run build.sh from the "unified" branch, I receive the following:
build.sh log
``` $ ./build.sh [21:30:31] [+] Building 21.2s (13/13) FINISHED docker:default => [internal] load build definition from Dockerfile 0.0s => => transferring dockerfile: 325B 0.0s => WARN: FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 1) 0.0s => [internal] load metadata for mcr.microsoft.com/dotnet/sdk:8.0 0.5s => [internal] load .dockerignore 0.0s => => transferring context: 2B 0.0s => [internal] load build context 0.1s => => transferring context: 1.31MB 0.0s => [build 1/6] FROM mcr.microsoft.com/dotnet/sdk:8.0@sha256:7d0ba26469267b563120456557e38eccef9972cb6b9cfbbd47a 8.2s => => resolve mcr.microsoft.com/dotnet/sdk:8.0@sha256:7d0ba26469267b563120456557e38eccef9972cb6b9cfbbd47a50d121 0.0s => => sha256:7d0ba26469267b563120456557e38eccef9972cb6b9cfbbd47a50d1218fa7b30 1.08kB / 1.08kB 0.0s => => sha256:f83f32e9bfc1953c54c68a97bc164bd565a5f07f26b7b81ebdcce80d4e991103 2.22kB / 2.22kB 0.0s => => sha256:030dfb09a3dbda610599fbb512938c315b9fba9a90a9b15181c77040db6306a2 32.24MB / 32.24MB 1.4s => => sha256:00fecb4bf40a11ba4959c9059f8dfd9e0fe14a762ea649c18c13e9dbd86d6d83 5.67kB / 5.67kB 0.0s => => sha256:66b672aaa3a6e397ad1fd45fac6f6742839619ff61ac9c5b0be5f18fbe5f08ac 18.71MB / 18.71MB 0.8s => => sha256:3d7d086377ca246302e20ebdc70046522d8c2df6c64a46227a99434091349d42 3.28kB / 3.28kB 0.2s => => sha256:2fe3f9fcc07ad363a19d33bb9f38f3540c724121f112de29713ae8cd98ab6343 11.03MB / 11.03MB 0.6s => => sha256:75cceec2ae3fd04477c61b35783c4a727362703003063f084100448d6b72ed75 153B / 153B 0.3s => => sha256:9927edd25e05bbbaffda21ffcba4503482236bee02e2acec23a9124a2b349bb4 30.69MB / 30.69MB 1.6s => => extracting sha256:66b672aaa3a6e397ad1fd45fac6f6742839619ff61ac9c5b0be5f18fbe5f08ac 0.2s => => sha256:7e8b0c6702f31651cb44efe8052fd2edd64aa55aa52df49f92980f3b49c99fb6 184.63MB / 184.63MB 5.1s => => extracting sha256:3d7d086377ca246302e20ebdc70046522d8c2df6c64a46227a99434091349d42 0.0s => => extracting sha256:030dfb09a3dbda610599fbb512938c315b9fba9a90a9b15181c77040db6306a2 0.3s => => sha256:aedd3b6a118509b752efcaa0ea40ea86a355c83e1cf4d37d69737249ca7481d1 15.61MB / 15.61MB 1.8s => => extracting sha256:75cceec2ae3fd04477c61b35783c4a727362703003063f084100448d6b72ed75 0.0s => => extracting sha256:2fe3f9fcc07ad363a19d33bb9f38f3540c724121f112de29713ae8cd98ab6343 0.1s => => extracting sha256:9927edd25e05bbbaffda21ffcba4503482236bee02e2acec23a9124a2b349bb4 0.6s => => extracting sha256:7e8b0c6702f31651cb44efe8052fd2edd64aa55aa52df49f92980f3b49c99fb6 2.5s => => extracting sha256:aedd3b6a118509b752efcaa0ea40ea86a355c83e1cf4d37d69737249ca7481d1 0.2s => [build 2/6] WORKDIR /bitBetter 0.7s => [stage-1 2/3] WORKDIR /app 0.7s => [build 3/6] COPY . /bitBetter 0.1s => [build 4/6] COPY cert.cert /app/ 0.1s => [build 5/6] RUN dotnet restore 3.4s => [build 6/6] RUN dotnet publish -c Release -o /app --no-restore 7.6s => [stage-1 3/3] COPY --from=build /app . 0.1s => exporting to image 0.1s => => exporting layers 0.0s => => writing image sha256:fbcd1f1e700cec856ba3a84ec7363ccb702c8e6e9869e1a77e62f135b9667442 0.0s => => naming to docker.io/bitbetter/bitbetter 0.0s 1 warning found (use docker --debug to expand): - FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 1) Update (or get) bitwarden source container: Y beta: Pulling from bitwarden/self-host efc2b5ad9eec: Already exists 66b672aaa3a6: Already exists 3d7d086377ca: Already exists 030dfb09a3db: Already exists 75cceec2ae3f: Already exists 2fe3f9fcc07a: Already exists 02c462ecf143: Pulling fs layer 23ad6a0bd0b8: Pulling fs layer 47424791b2ab: Pulling fs layer 56bd090865b1: Waiting 78d0e605f43e: Waiting 4f4fb700ef54: Pull complete a8cb9516cbc7: Pull complete 56b4b31e8e13: Pull complete 518536ec3498: Pull complete 5e4971043a76: Pull complete 68c871d163e7: Pull complete 692bed3ad298: Pull complete 4f266fd9290e: Pull complete 5b47005f7610: Pull complete 2da9dc52ae07: Pull complete 286469381fef: Pull complete b970e5a01f25: Pull complete b54dcb1a3b86: Pull complete 1384917efc2b: Pull complete 98492b36f646: Pull complete d0f44383f33a: Pull complete 5cd46a1acc2f: Pull complete aebda13796ee: Pull complete 12bf388d6ae9: Pull complete 214a8c867f5d: Pull complete 2e491511bf84: Pull complete 1cbab8264a02: Pull complete 263c14abb94a: Pull complete 80a79466b969: Pull complete 6f6bdcf977d4: Pull complete 3e027f0bf6b3: Pull complete 94c6400bd5c5: Pull complete Digest: sha256:73ceeee265e9e9f897e52ee9771d9a47ca8d0234082093c6d2601a3639629f83 Status: Downloaded newer image for bitwarden/self-host:beta docker.io/bitwarden/self-host:beta Error response from daemon: No such container: bitwarden-patch Error response from daemon: No such container: bitwarden-patch Error response from daemon: No such image: bitwarden-patch:latest Successfully copied 2.06MB to /home/andrew/Documents/github/BitBetter/temp/Api/Core.dll Successfully copied 2.06MB to /home/andrew/Documents/github/BitBetter/temp/Identity/Core.dll /app/mount/Api/Core.dll Bit.Core.licensing.cer Existing Cert Thumbprint: B34876439FCDA2846505B2EFBBA6C4A951313EBE New Cert Thumbprint: 547B781E3DED43C896419914BBEB70E92F96BF12 /app/mount/Identity/Core.dll Bit.Core.licensing.cer Existing Cert Thumbprint: B34876439FCDA2846505B2EFBBA6C4A951313EBE New Cert Thumbprint: 547B781E3DED43C896419914BBEB70E92F96BF12 [+] Building 2.1s (8/8) FINISHED docker:default => [internal] load build definition from Dockerfile-bitwarden-patch 0.0s => => transferring dockerfile: 184B 0.0s => [internal] load metadata for docker.io/bitwarden/self-host:beta 0.0s => [internal] load .dockerignore 0.1s => => transferring context: 2B 0.0s => [1/3] FROM docker.io/bitwarden/self-host:beta 1.6s => [internal] load build context 0.1s => => transferring context: 4.08MB 0.0s => [2/3] COPY ./temp/Api/Core.dll /app/Api/Core.dll 0.1s => [3/3] COPY ./temp/Identity/Core.dll /app/Identity/Core.dll 0.1s => exporting to image 0.1s => => exporting layers 0.1s => => writing image sha256:0804a68a0efe74390e063107978d48d590766f8ae1d4bfcb87d2ea09521c1a0b 0.0s => => naming to docker.io/library/bitwarden-patch 0.0s bitwarden-patch bitwarden-patch bash: line 1: $'\r': command not found unknown flag: --remove-orphans Untagged: bitbetter/bitbetter:latest Deleted: sha256:fbcd1f1e700cec856ba3a84ec7363ccb702c8e6e9869e1a77e62f135b9667442 [+] Building 11.9s (14/14) FINISHED docker:default => [internal] load build definition from Dockerfile 0.0s => => transferring dockerfile: 416B 0.0s => WARN: FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 1) 0.0s => [internal] load metadata for mcr.microsoft.com/dotnet/sdk:8.0 0.1s => [internal] load .dockerignore 0.0s => => transferring context: 2B 0.0s => [internal] load build context 0.1s => => transferring context: 2.07MB 0.0s => CACHED [build 1/7] FROM mcr.microsoft.com/dotnet/sdk:8.0@sha256:7d0ba26469267b563120456557e38eccef9972cb6b9c 0.0s => [build 2/7] WORKDIR /licenseGen 0.1s => [build 3/7] COPY . /licenseGen 0.1s => [build 4/7] COPY Core.dll /app/ 0.1s => [build 5/7] COPY cert.pfx /app/ 0.1s => [build 6/7] RUN dotnet restore 4.0s => [build 7/7] RUN dotnet publish -c Release -o /app --no-restore 7.1s => CACHED [stage-1 2/3] WORKDIR /app 0.0s => [stage-1 3/3] COPY --from=build /app . 0.1s => exporting to image 0.1s => => exporting layers 0.0s => => writing image sha256:b3d27466f4ed3136ae6358f60f244801a97a7cf3196cdfbd844de0f660212142 0.0s => => naming to docker.io/bitbetter/licensegen 0.0s 1 warning found (use docker --debug to expand): - FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 1) ```When I expand that with
--debug
, I seeBut there doesn't appear to be any content around version specifications in the README.MD file in the main repo. I am a bit lost based on the readme instructions about what I need to modify or change.