Skip to content

Commit

Permalink
Install postgresql-client-${PG_MAJOR} instead of postgresql-client
Browse files Browse the repository at this point in the history
This ensures that the client tools we installed are compatible with the
version of the Postgres cluster.
  • Loading branch information
tgxworld committed Dec 3, 2024
1 parent 69d7558 commit aedfd8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion image/base/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ RUN --mount=type=tmpfs,target=/var/log \
dpkg-divert --local --rename --add /sbin/initctl; \
sh -c "test -f /sbin/initctl || ln -s /bin/true /sbin/initctl"; \
apt-get -y update && DEBIAN_FRONTEND=noninteractive apt-get -y install runit socat \
libpq-dev postgresql-client \
libpq-dev postgresql-client-${PG_MAJOR} \
postgresql-${PG_MAJOR} postgresql-contrib-${PG_MAJOR} postgresql-${PG_MAJOR}-pgvector \
nodejs yarn &&\
mkdir -p /etc/runit/1.d
Expand Down

0 comments on commit aedfd8f

Please sign in to comment.