Skip to content

Commit b2ab970

Browse files
pavel-mironchikbestlong
authored andcommitted
Upgrade PostgreSQL client to version 10. (laradock#1508)
1 parent 679d2b0 commit b2ab970

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

workspace/Dockerfile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -766,7 +766,11 @@ ARG INSTALL_PG_CLIENT=false
766766

767767
RUN if [ ${INSTALL_PG_CLIENT} = true ]; then \
768768
# Install the pgsql client
769-
apt-get -y install postgresql-client \
769+
apt-get install wget \
770+
&& add-apt-repository "deb http://apt.postgresql.org/pub/repos/apt/ xenial-pgdg main" \
771+
&& wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add - \
772+
&& apt-get update \
773+
&& apt-get -y install postgresql-client-10 \
770774
;fi
771775

772776
###########################################################################

0 commit comments

Comments
 (0)