postgresql-client version mismatch
collimarco opened this issue · 1 comments
We use this as a base image for a web application and in the Dockerfile we have:
RUN apt-get update && apt-get install -y postgresql-client
The problem is that postgresql-client
version provided by this image is old and causes this error:
pg_dump: error: server version: 14.7 (Ubuntu 14.7-0ubuntu0.22.04.1); pg_dump version: 13.9 (Debian 13.9-0+deb11u1)
pg_dump: error: aborting because of server version mismatch
When do you plan to use a more recent version of Debian?
Any other solution in the meantime?
We support the current Debian stable release (bullseye, and even the previous release, buster). Once the new Debian stable (bookworm) is released, we will support it.
If you need a more specific version of the PostgreSQL client than the one provided by Debian, I would suggest trying the PostgreSQL Apt Repository: https://www.postgresql.org/download/linux/debian/
In the future (and for further assistance with solving your integration issue) these sorts of questions/requests would be more appropriately posted to a dedicated support forum, such as the Docker Community Slack, Server Fault, Unix & Linux, or Stack Overflow.