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:
parent
ddad36133a
commit
fbfb2c07fc
@ -1160,10 +1160,10 @@ ARG INSTALL_PG_CLIENT=false
|
|||||||
RUN if [ ${INSTALL_PG_CLIENT} = true ]; then \
|
RUN if [ ${INSTALL_PG_CLIENT} = true ]; then \
|
||||||
# Install the pgsql client
|
# Install the pgsql client
|
||||||
apt-get install wget \
|
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 - \
|
&& 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 update \
|
||||||
&& apt-get -y install postgresql-client-10 \
|
&& apt-get -y install postgresql-client-12 \
|
||||||
;fi
|
;fi
|
||||||
|
|
||||||
###########################################################################
|
###########################################################################
|
||||||
|
Loading…
Reference in New Issue
Block a user