Revert "Dealing with trailing whitespaces"
The validation script from #10681 is too pedantic, and does not handle well situations like: ``` cat <<EOF # or <<-EOF Whether the leading whitespace is stripped out or not by bash it should still be considered as valid. EOF ``` This reverts commit 4e65c1c319afffc325853b88c9aef0c42ec83482. Signed-off-by: Tibor Vass <tibor@docker.com> Upstream-commit: 0252ad0adc37a34b88fa908ae74a13b940febdcb Component: engine
This commit is contained in:
@ -6,7 +6,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://p80.pool.sks-keyservers.net:80 --recv-keys B97B0AFCAA1A47F044F244A07FCC7D46ACCC4CF8
|
||||
|
||||
# Add PostgreSQL's repository. It contains the most recent stable release
|
||||
@ -33,7 +33,7 @@ RUN /etc/init.d/postgresql start &&\
|
||||
createdb -O docker docker
|
||||
|
||||
# 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``
|
||||
|
||||
Reference in New Issue
Block a user