Error: Docker build failed
My build is now failing. It used to work. But it fails after redeploying. How to fix it?
https://github.com/ryanshrott/tenant
#14 [stage-0 10/16] RUN apt update
#14 0.371 apt: /lib/x86_64-linux-gnu/libc.so.6: version
GLIBC_2.36' not found (required by /nix/store/xpxln7rqi3pq4m0xpnawhxb2gs0mn1s0-gcc-12.3.0-lib/lib/libstdc++.so.6)
#14 ERROR: process "/bin/bash -ol pipefail -c apt update" did not complete successfully: exit code: 1
-----
> [stage-0 10/16] RUN apt update:
0.371 apt: /lib/x86_64-linux-gnu/libc.so.6: version
GLIBC_2.36' not found (required by /nix/store/xpxln7rqi3pq4m0xpnawhxb2gs0mn1s0-gcc-12.3.0-lib/lib/libstdc++.so.6)
-----
Dockerfile:28
-------------------
26 | # poppler phase
27 | COPY . /app/.
28 | >>> RUN apt update
29 | RUN apt install -y poppler-utils
30 |
-------------------
ERROR: failed to solve: process "/bin/bash -ol pipefail -c apt update" did not complete successfully: exit code: 1
Error: Docker build failedGitHub
GitHub - ryanshrott/tenant: yourhome
yourhome. Contribute to ryanshrott/tenant development by creating an account on GitHub.
3 Replies
Project ID:
2bd1105c-53e9-491e-915c-e70edb336670
2bd1105c-53e9-491e-915c-e70edb336670
[phases.tesseract]
cmds = [
"apt update",
"apt install -y tesseract-ocr"
]
dependsOn = ["install"]
[phases.poppler]
cmds = [
"apt update",
"apt install -y poppler-utils"
]
dependsOn = ["install"]
add a railway.toml file to your project with this in it