R
Railway2y ago
Mike

aspnetcore with nixpacks breaking, builds ok with my own Dockerfile

getting this error on build with the default nixpack, SDK Version: 6.0.403 (setting the NIXPACKS_CSHARP_SDK_VERSION to 7.0 doesn't change that):
Dockerfile:19
-------------------
17 | # install phase
18 | COPY . /app/.
19 | >>> RUN dotnet restore
20 |
21 | # build phase
-------------------
ERROR: failed to solve: process "/bin/bash -ol pipefail -c dotnet restore" did not complete successfully: exit code: 1

Error: Docker build failed
Dockerfile:19
-------------------
17 | # install phase
18 | COPY . /app/.
19 | >>> RUN dotnet restore
20 |
21 | # build phase
-------------------
ERROR: failed to solve: process "/bin/bash -ol pipefail -c dotnet restore" did not complete successfully: exit code: 1

Error: Docker build failed
trying to use the nixpack to see if "just works", but something is wrong there it builds with my own Dockerfile, but I'm having a H A R D time figuring out the certificate trust thing, so my app just bricks and doesn't respond when built this way first time deploying aspnetcore - used to deploying only nodejs, so I'm most likely doing something dumb
2 Replies
Percy
Percy2y ago
Project ID: 0e3920db-0fe0-451c-885d-1e2fcf3de42e
Mike
MikeOP2y ago
project id 0e3920db-0fe0-451c-885d-1e2fcf3de42e
Want results from more Discord servers?
Add your server