Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 7 additions & 3 deletions postgres/centos7/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,17 @@
#
# Originally written for Fedora-Dockerfiles by
# scollier <[email protected]>
ENV PG11=https://download.postgresql.org/pub/repos/yum/11/redhat/rhel-7-x86_64/pgdg-centos11-11-2.noarch.rpm PG9.5=https://download.postgresql.org/pub/repos/yum/9.5/redhat/rhel-7-x86_64/pgdg-centos95-9.5-3.noarch.rpm
ENV PGPATH=/usr/pgsql-9.5

FROM centos:centos7
MAINTAINER The CentOS Project <[email protected]>

RUN yum -y update; yum clean all
RUN yum -y install sudo epel-release; yum clean all
RUN yum -y install postgresql-server postgresql postgresql-contrib supervisor pwgen; yum clean all
RUN yum -y update \
&& yum clean all \
&& yum -y install ${PG9.5} postgresql95 postgresql95-server postgresql95-contrib \
#RUN yum -y install sudo epel-release; yum clean all
#RUN yum -y install postgresql-server postgresql postgresql-contrib supervisor pwgen; yum clean all

ADD ./postgresql-setup /usr/bin/postgresql-setup
ADD ./supervisord.conf /etc/supervisord.conf
Expand Down
Empty file added test.txt
Empty file.