diff --git a/8.4/Dockerfile b/8.4/Dockerfile index 845c39b567..9eb88d81de 100644 --- a/8.4/Dockerfile +++ b/8.4/Dockerfile @@ -18,7 +18,9 @@ RUN echo 'deb http://apt.postgresql.org/pub/repos/apt/ wheezy-pgdg main' $PG_MAJ RUN apt-get update \ && apt-get install -y postgresql-common \ && sed -ri 's/#(create_main_cluster) .*$/\1 = false/' /etc/postgresql-common/createcluster.conf \ - && apt-get install -y postgresql-$PG_MAJOR=$PG_VERSION + && apt-get install -y \ + postgresql-$PG_MAJOR=$PG_VERSION \ + postgresql-contrib-$PG_MAJOR=$PG_VERSION ENV PATH /usr/lib/postgresql/$PG_MAJOR/bin:$PATH ENV PGDATA /var/lib/postgresql/data diff --git a/9.0/Dockerfile b/9.0/Dockerfile index 438a52a98d..bf7e2fb50c 100644 --- a/9.0/Dockerfile +++ b/9.0/Dockerfile @@ -18,7 +18,9 @@ RUN echo 'deb http://apt.postgresql.org/pub/repos/apt/ wheezy-pgdg main' $PG_MAJ RUN apt-get update \ && apt-get install -y postgresql-common \ && sed -ri 's/#(create_main_cluster) .*$/\1 = false/' /etc/postgresql-common/createcluster.conf \ - && apt-get install -y postgresql-$PG_MAJOR=$PG_VERSION + && apt-get install -y \ + postgresql-$PG_MAJOR=$PG_VERSION \ + postgresql-contrib-$PG_MAJOR=$PG_VERSION ENV PATH /usr/lib/postgresql/$PG_MAJOR/bin:$PATH ENV PGDATA /var/lib/postgresql/data diff --git a/9.1/Dockerfile b/9.1/Dockerfile index 894a169f4d..9739a5686f 100644 --- a/9.1/Dockerfile +++ b/9.1/Dockerfile @@ -18,7 +18,9 @@ RUN echo 'deb http://apt.postgresql.org/pub/repos/apt/ wheezy-pgdg main' $PG_MAJ RUN apt-get update \ && apt-get install -y postgresql-common \ && sed -ri 's/#(create_main_cluster) .*$/\1 = false/' /etc/postgresql-common/createcluster.conf \ - && apt-get install -y postgresql-$PG_MAJOR=$PG_VERSION + && apt-get install -y \ + postgresql-$PG_MAJOR=$PG_VERSION \ + postgresql-contrib-$PG_MAJOR=$PG_VERSION ENV PATH /usr/lib/postgresql/$PG_MAJOR/bin:$PATH ENV PGDATA /var/lib/postgresql/data diff --git a/9.2/Dockerfile b/9.2/Dockerfile index f2545fff3b..1ddb5f5272 100644 --- a/9.2/Dockerfile +++ b/9.2/Dockerfile @@ -18,7 +18,9 @@ RUN echo 'deb http://apt.postgresql.org/pub/repos/apt/ wheezy-pgdg main' $PG_MAJ RUN apt-get update \ && apt-get install -y postgresql-common \ && sed -ri 's/#(create_main_cluster) .*$/\1 = false/' /etc/postgresql-common/createcluster.conf \ - && apt-get install -y postgresql-$PG_MAJOR=$PG_VERSION + && apt-get install -y \ + postgresql-$PG_MAJOR=$PG_VERSION \ + postgresql-contrib-$PG_MAJOR=$PG_VERSION ENV PATH /usr/lib/postgresql/$PG_MAJOR/bin:$PATH ENV PGDATA /var/lib/postgresql/data diff --git a/9.3/Dockerfile b/9.3/Dockerfile index 6c9336b315..90a6f347be 100644 --- a/9.3/Dockerfile +++ b/9.3/Dockerfile @@ -18,7 +18,9 @@ RUN echo 'deb http://apt.postgresql.org/pub/repos/apt/ wheezy-pgdg main' $PG_MAJ RUN apt-get update \ && apt-get install -y postgresql-common \ && sed -ri 's/#(create_main_cluster) .*$/\1 = false/' /etc/postgresql-common/createcluster.conf \ - && apt-get install -y postgresql-$PG_MAJOR=$PG_VERSION + && apt-get install -y \ + postgresql-$PG_MAJOR=$PG_VERSION \ + postgresql-contrib-$PG_MAJOR=$PG_VERSION ENV PATH /usr/lib/postgresql/$PG_MAJOR/bin:$PATH ENV PGDATA /var/lib/postgresql/data diff --git a/9.4/Dockerfile b/9.4/Dockerfile index 4d303671b0..04eb6b0f3d 100644 --- a/9.4/Dockerfile +++ b/9.4/Dockerfile @@ -18,7 +18,9 @@ RUN echo 'deb http://apt.postgresql.org/pub/repos/apt/ wheezy-pgdg main' $PG_MAJ RUN apt-get update \ && apt-get install -y postgresql-common \ && sed -ri 's/#(create_main_cluster) .*$/\1 = false/' /etc/postgresql-common/createcluster.conf \ - && apt-get install -y postgresql-$PG_MAJOR=$PG_VERSION + && apt-get install -y \ + postgresql-$PG_MAJOR=$PG_VERSION \ + postgresql-contrib-$PG_MAJOR=$PG_VERSION ENV PATH /usr/lib/postgresql/$PG_MAJOR/bin:$PATH ENV PGDATA /var/lib/postgresql/data