8000 Add in contrib for useful modules · alexchan/postgres@6abeb85 · GitHub
[go: up one dir, main page]

Skip to content

Commit 6abeb85

Browse files
committed
Add in contrib for useful modules
1 parent 7c8e945 commit 6abeb85

File tree

6 files changed

+18
-6
lines changed

6 files changed

+18
-6
lines changed

8.4/Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,9 @@ RUN echo 'deb http://apt.postgresql.org/pub/repos/apt/ wheezy-pgdg main' $PG_MAJ
1818
RUN apt-get update \
1919
&& apt-get install -y postgresql-common \
2020
&& sed -ri 's/#(create_main_cluster) .*$/\1 = false/' /etc/postgresql-common/createcluster.conf \
21-
&& apt-get install -y postgresql-$PG_MAJOR=$PG_VERSION
21+
&& apt-get install -y \
22+
postgresql-$PG_MAJOR=$PG_VERSION \
23+
postgresql-contrib-$PG_MAJOR=$PG_VERSION
2224

2325
ENV PATH /usr/lib/postgresql/$PG_MAJOR/bin:$PATH
2426
ENV PGDATA /var/lib/postgresql/data

9.0/Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,9 @@ RUN echo 'deb http://apt.postgresql.org/pub/repos/apt/ wheezy-pgdg main' $PG_MAJ
1818
RUN apt-get update \
1919
&& apt-get install -y postgresql-common \
2020
&& sed -ri 's/#(create_main_cluster) .*$/\1 = false/' /etc/postgresql-common/createcluster.conf \
21-
&& apt-get install -y postgresql-$PG_MAJOR=$PG_VERSION
21+
&& apt-get install -y \
22+
postgresql-$PG_MAJOR=$PG_VERSION \
23+
postgresql-contrib-$PG_MAJOR=$PG_VERSION
2224

2325
ENV PATH /usr/lib/postgresql/$PG_MAJOR/bin:$PATH
2426
ENV PGDATA /var/lib/postgresql/data

9.1/Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,9 @@ RUN echo 'deb http://apt.postgresql.org/pub/repos/apt/ wheezy-pgdg main' $PG_MAJ
1818
RUN apt-get update \
1919
&& apt-get install -y postgresql-common \
2020
&& sed -ri 's/#(create_main_cluster) .*$/\1 = false/' /etc/postgresql-common/createcluster.conf \
21-
&& apt-get install -y postgresql-$PG_MAJOR=$PG_VERSION
21+
&& apt-get install -y \
22+
postgresql-$PG_MAJOR=$PG_VERSION \
23+
postgresql-contrib-$PG_MAJOR=$PG_VERSION
2224

2325
ENV PATH /usr/lib/postgresql/$PG_MAJOR/bin:$PATH
2426
ENV PGDATA /var/lib/postgresql/data

9.2/Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,9 @@ RUN echo 'deb http://apt.postgresql.org/pub/repos/apt/ wheezy-pgdg main' $PG_MAJ
1818
RUN apt-get update \
1919
&& apt-get install -y postgresql-common \
2020
&& sed -ri 's/#(create_main_cluster) .*$/\1 = false/' /etc/postgresql-common/createcluster.conf \
21-
&& apt-get install -y postgresql-$PG_MAJOR=$PG_VERSION
21+
&& apt-get install -y \
22+
postgresql-$PG_MAJOR=$PG_VERSION \
23+
postgresql-contrib-$PG_MAJOR=$PG_VERSION
2224

2325
ENV PATH /usr/lib/postgresql/$PG_MAJOR/bin:$PATH
2426
ENV PGDATA /var/lib/postgresql/data

9.3/Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,9 @@ RUN echo 'deb http://apt.postgresql.org/pub/repos/apt/ wheezy-pgdg main' $PG_MAJ
1818
RUN apt-get update \
1919
&& apt-get install -y postgresql-common \
2020
&& sed -ri 's/#(create_main_cluster) .*$/\1 = false/' /etc/postgresql-common/createcluster.conf \
21-
&& apt-get install -y postgresql-$PG_MAJOR=$PG_VERSION
21+
&& apt-get install -y \
22+
postgresql-$PG_MAJOR=$PG_VERSION \
23+
postgresql-contrib-$PG_MAJOR=$PG_VERSION
2224

2325
ENV PATH /usr/lib/postgresql/$PG_MAJOR/bin:$PATH
2426
ENV PGDATA /var/lib/postgresql/data

9.4/Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,9 @@ RUN echo 'deb http://apt.postgresql.org/pub/repos/apt/ wheezy-pgdg main' $PG_MAJ
1818
RUN apt-get update \
1919
&& apt-get install -y postgresql-common \
2020
&& sed -ri 's/#(create_main_cluster) .*$/\1 = false/' /etc/postgresql-common/createcluster.conf \
21-
&& apt-get install -y postgresql-$PG_MAJOR=$PG_VERSION
21+
&& apt-get install -y \
22+
postgresql-$PG_MAJOR=$PG_VERSION \
23+
postgresql-contrib-$PG_MAJOR=$PG_VERSION
2224

2325
ENV PATH /usr/lib/postgresql/$PG_MAJOR/bin:$PATH
2426
ENV PGDATA /var/lib/postgresql/data

0 commit comments

Comments
 (0)
0