I am trying to determine the libraries needed for pg_restore in the official postgres:15 docker image, but when I run ldd /usr/bin/pg_restore inside the container it returns this error: not a dynamic executable.
When I install the same postgres client version 15.12 directly in my VM, ldd works as expected.
What could be wrong that ldd is not working properly on a docker container?