From fbfb2c07fc8865698894ee17c33fdb28b30a7348 Mon Sep 17 00:00:00 2001 From: Marcus Date: Thu, 3 Sep 2020 12:24:01 +0200 Subject: [PATCH] fix: use postgresql-client-12 in workspace it's not possible to import postgresql 12 databases unless the client version is also 12. --- workspace/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/workspace/Dockerfile b/workspace/Dockerfile index 30026fa..2aee68c 100644 --- a/workspace/Dockerfile +++ b/workspace/Dockerfile @@ -1160,10 +1160,10 @@ ARG INSTALL_PG_CLIENT=false RUN if [ ${INSTALL_PG_CLIENT} = true ]; then \ # Install the pgsql client apt-get install wget \ - && add-apt-repository "deb http://apt.postgresql.org/pub/repos/apt/ xenial-pgdg main" \ && wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add - \ + && echo "deb http://apt.postgresql.org/pub/repos/apt/ `lsb_release -cs`-pgdg main" | tee /etc/apt/sources.list.d/pgdg.list \ && apt-get update \ - && apt-get -y install postgresql-client-10 \ + && apt-get -y install postgresql-client-12 \ ;fi ###########################################################################