diff --git a/workspace/Dockerfile b/workspace/Dockerfile index 30026fa4..2aee68c1 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 ###########################################################################