diff schema/Dockerfile @ 157:a85c44438d48

fix: Replaced MAINTAINER by LABEL The Maintainer instruction is deprecated. https://docs.docker.com/engine/reference/builder/#maintainer-deprecated
author Thomas Junk <thomas.junk@intevation.de>
date Tue, 03 Jul 2018 11:43:55 +0200
parents 4ade330e571e
children a422471db08a
line wrap: on
line diff
--- a/schema/Dockerfile	Tue Jul 03 11:40:16 2018 +0200
+++ b/schema/Dockerfile	Tue Jul 03 11:43:55 2018 +0200
@@ -1,12 +1,12 @@
 FROM centos:7
-MAINTAINER tom.gottfried@intevation.de
+LABEL authors="tom.gottfried@intevation.de"
 
 # Add the PostgreSQL PGP key to verify the official yum repository packages
 RUN rpm --import https://yum.postgresql.org/RPM-GPG-KEY-PGDG-10 &&\
-# Add PostgreSQL's repository. It contains the most recent release
-# of PostgreSQL, 10:
+    # Add PostgreSQL's repository. It contains the most recent release
+    # of PostgreSQL, 10:
     yum -q -y install https://download.postgresql.org/pub/repos/yum/10/redhat/rhel-7-x86_64/pgdg-centos10-10-2.noarch.rpm &&\
-# Install PostgreSQL 10 and PostGIS
+    # Install PostgreSQL 10 and PostGIS
     yum -q -y install postgresql10-server &&\
     yum -q -y install epel-release &&\
     yum -q -y install postgis24_10 pgtap10
@@ -17,8 +17,8 @@
 ENV PGDATA /var/lib/pgsql/10/data
 ENV PGCONF /var/lib/pgsql/10/data/postgresql.conf
 RUN $PGBIN/initdb -E UTF8 2>&1 < /dev/null &&\
-# Adjust PostgreSQL configuration so that remote connections to the
-# database are possible.
+    # Adjust PostgreSQL configuration so that remote connections to the
+    # database are possible.
     echo "host all  all    0.0.0.0/0  md5" >> /var/lib/pgsql/10/data/pg_hba.conf &&\
     echo "listen_addresses='*'" >> $PGCONF
 # Expose the PostgreSQL port