Upgrade PostgreSQL client to version 10. (#1508)

This commit is contained in:
brunen9 2018-07-20 13:48:09 +06:00 committed by Shao Yu-Lung (Allen)
parent 679d2b0aba
commit b2ab970d04
1 changed files with 5 additions and 1 deletions

View File

@ -766,7 +766,11 @@ ARG INSTALL_PG_CLIENT=false
RUN if [ ${INSTALL_PG_CLIENT} = true ]; then \
# Install the pgsql client
apt-get -y install postgresql-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 - \
&& apt-get update \
&& apt-get -y install postgresql-client-10 \
;fi
###########################################################################