docker: update Postgres client binaries to 14.0.

Update the Postgres client binaries (psql et al) to version 14.0. This
is so they match the server version, and so that pg_amcheck is
available, which was introduced in 14.0.

This requires updating the base image to Ubuntu 21.04 at the same time
because the Postgres repo doesn't support version 14.0 on Ubuntu 20.10.
This commit is contained in:
evazion
2021-10-06 04:38:29 -05:00
parent 21f46f26d4
commit f687bb0608
2 changed files with 17 additions and 4 deletions

View File

@@ -1,7 +1,7 @@
FROM ubuntu:20.10 AS base
FROM ubuntu:21.04 AS base
WORKDIR /danbooru
ENV PATH="/root/.asdf/bin:/root/.asdf/shims:$PATH"
ENV PATH="/root/.asdf/bin:/root/.asdf/shims:$PATH:/usr/lib/postgresql/14/bin"
COPY config/docker/build-base-image.sh .