aboutsummaryrefslogtreecommitdiff
path: root/scripts/dockerfiles/images/postgres/Dockerfile
diff options
context:
space:
mode:
authorTristan Storch <tstorch@math.uni-bielefeld.de>2014-08-30 15:12:53 +0200
committerTristan Storch <tstorch@math.uni-bielefeld.de>2014-08-30 15:12:53 +0200
commit69e332f432c87ce83a488a8c06a02ded26f66beb (patch)
tree03c8ae1382e92612341df57856e9d1a17e1de8a9 /scripts/dockerfiles/images/postgres/Dockerfile
parent9bc63bda7ded31b77ad4aaf3495582a7c8555d2f (diff)
Removed trailing white spaces
Removed trailing whitespaces with ```sh for file in `grep -r " $" * | cut -d : -f 1 | sort | uniq | grep -v " "`; do sed -i 's/[ \t]*$//' $file; done ``` and some handwork.
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``