fix: use postgresql-client-12 in workspace

it's not possible to import postgresql 12 databases unless the client version is also 12.
This commit is contained in:
Marcus 2020-09-03 12:24:01 +02:00 committed by GitHub
parent ddad36133a
commit fbfb2c07fc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -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
###########################################################################