|
@@ -2,4 +2,5 @@ FROM postgres
|
|
|
|
|
|
|
|
MAINTAINER chendeben <chendeben@qq.com>
|
|
MAINTAINER chendeben <chendeben@qq.com>
|
|
|
|
|
|
|
|
-RUN chown -R postgres:postgres /var/lib/postgresql/data
|
|
|
|
|
|
|
+RUN chown -R postgres:postgres /var/lib/postgresql/data && \
|
|
|
|
|
+ chmod -R 700 /var/lib/postgresql/data
|