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:
The issue is with the nixLibs in the setup phase. Can you please add ```toml [phases.setup] nixLibs = []...
Jump to solution
6 Replies
Percy
Percy14mo ago
Project ID: e649edf0-e7e9-4b6d-8516-8155a5adf4a2
jr
jr14mo ago
Can you please share the contents of the nixpacks.toml file
Brody
Brody14mo ago
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
jr
jr14mo ago
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
jr
jr14mo ago
The issue is with the nixLibs in the setup phase. Can you please add
[phases.setup]
nixLibs = []
[phases.setup]
nixLibs = []
to your nixpacks.toml file to fix
mrCunningham
mrCunningham14mo ago
thanks that worked
Want results from more Discord servers?
Add your server