aboutsummaryrefslogtreecommitdiff
path: root/scripts/dockerfiles/images/postgres/Dockerfile
diff options
context:
space:
mode:
author无闻 <joe2010xtmf@163.com>2014-08-30 06:37:04 -0700
committer无闻 <joe2010xtmf@163.com>2014-08-30 06:37:04 -0700
commit4c8ef90157f58efe39bd36fe957eb4415ca2d2da (patch)
tree03c8ae1382e92612341df57856e9d1a17e1de8a9 /scripts/dockerfiles/images/postgres/Dockerfile
parent9bc63bda7ded31b77ad4aaf3495582a7c8555d2f (diff)
parent69e332f432c87ce83a488a8c06a02ded26f66beb (diff)
Merge pull request #394 from tstorch/trailing_white_spaces
Removed trailing white spaces
Diffstat (limited to 'scripts/dockerfiles/images/postgres/Dockerfile')
-rw-r--r--scripts/dockerfiles/images/postgres/Dockerfile6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/dockerfiles/images/postgres/Dockerfile b/scripts/dockerfiles/images/postgres/Dockerfile
index 9d76873c..79349992 100644
--- a/scripts/dockerfiles/images/postgres/Dockerfile
+++ b/scripts/dockerfiles/images/postgres/Dockerfile
@@ -2,7 +2,7 @@ FROM ubuntu
MAINTAINER SvenDowideit@docker.com
# Add the PostgreSQL PGP key to verify their Debian packages.
-# It should be the same key as https://www.postgresql.org/media/keys/ACCC4CF8.asc
+# It should be the same key as https://www.postgresql.org/media/keys/ACCC4CF8.asc
RUN apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys B97B0AFCAA1A47F044F244A07FCC7D46ACCC4CF8
# Add PostgreSQL's repository. It contains the most recent stable release
@@ -20,7 +20,7 @@ RUN apt-get -y -q install python-software-properties software-properties-common
RUN apt-get -y -q install postgresql-9.3 postgresql-client-9.3 postgresql-contrib-9.3
# Note: The official Debian and Ubuntu images automatically ``apt-get clean``
-# after each ``apt-get``
+# after each ``apt-get``
# Run the rest of the commands as the ``postgres`` user created by the ``postgres-9.3`` package when it was ``apt-get installed``
USER postgres
@@ -34,7 +34,7 @@ RUN /etc/init.d/postgresql start &&\
createdb -O root gogs
# Adjust PostgreSQL configuration so that remote connections to the
-# database are possible.
+# database are possible.
RUN echo "host all all 0.0.0.0/0 md5" >> /etc/postgresql/9.3/main/pg_hba.conf
# And add ``listen_addresses`` to ``/etc/postgresql/9.3/main/postgresql.conf``