Skip to content

Database governance built for humans and agents — controlling changes and access across every major database.

chore: install postgresql client 14 (#2695)

h3n4l98c35d347851
diff --git a/Dockerfile b/Dockerfile
index 6bfa0cf1ea..4c063f460e 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -80,9 +80,12 @@ ENV OPENSSL_CONF /etc/ssl/
# - Demo script to launch Bytebase in readonly demo mode
COPY ./scripts /usr/local/bin/
+# We want to install postgresql-client-14
+# https://packages.debian.org/sid/amd64/postgresql-client-14/download
+RUN echo deb http://ftp.hk.debian.org/debian sid main >> /etc/apt/sources.list
# Our HEALTHCHECK instruction in dockerfile needs curl.
# Install psmisc to use killall command in demo.sh used by render.com.
-RUN apt-get update && apt-get install -y locales curl psmisc postgresql-client procps
+RUN apt-get update && apt-get install -y locales curl psmisc postgresql-client-14 procps
# Generate en_US.UTF-8 locale which is needed to start postgres server.
# Fix the posgres server issue (invalid value for parameter "lc_messages": "en_US.UTF-8").
RUN echo "en_US.UTF-8 UTF-8" > /etc/locale.gen && locale-gen