Failed to install caddy
ProjectID:e649edf0-e7e9-4b6d-8516-8155a5adf4a2
#12 [stage-0 6/15] RUN curl -fsSLo caddy.tar.gz "https://github.com/caddyserver/caddy/releases/download/v2.7.4/caddy_2.7.4_linux_amd64.tar.gz";
#12 0.305 curl: /lib/x86_64-linux-gnu/libc.so.6: version
GLIBC_ABI_DT_RELR' not found (required by /nix/store/aw2fw9ag10wr9pf0qk4nk5sxi0q0bn56-glibc-2.37-8/lib/libdl.so.2)
#12 0.305 curl: /lib/x86_64-linux-gnu/libc.so.6: version GLIBC_ABI_DT_RELR' not found (required by /nix/store/aw2fw9ag10wr9pf0qk4nk5sxi0q0bn56-glibc-2.37-8/lib/libpthread.so.0)
#12 ERROR: process "/bin/bash -ol pipefail -c curl -fsSLo caddy.tar.gz \"https://github.com/caddyserver/caddy/releases/download/v${CADDY_VERSION}/caddy_${CADDY_VERSION}_linux_amd64.tar.gz\"" did not complete successfully: exit code: 1
Solution:Jump to solution
The issue is with the
nixLibs
in the setup phase. Can you please add
```toml
[phases.setup]
nixLibs = []...6 Replies
Project ID:
e649edf0-e7e9-4b6d-8516-8155a5adf4a2
Can you please share the contents of the nixpacks.toml file
https://github.com/brody192/vue-3-template/blob/main/nixpacks.toml
they are using this kind of template, but i cant reproduce with the nixpacks.toml i linked
I can reproduce it only when building for linux/amd64. Arm works. And only on nixpacks 1.17.0. So something in the last version. Checking what the difference is
Solution
The issue is with the
nixLibs
in the setup phase. Can you please add
to your nixpacks.toml
file to fixthanks that worked