Upgrade uui-server database to postgreSQL 12/85612/1
authorguochuyicmri <guochuyi@chinamobile.com>
Wed, 17 Apr 2019 16:03:15 +0000 (00:03 +0800)
committerguochuyicmri <guochuyi@chinamobile.com>
Wed, 17 Apr 2019 16:03:17 +0000 (00:03 +0800)
Change-Id: I6c8a61d79fe123274df737b984b853bad09bbd5d
Issue-ID: USECASEUI-236
Signed-off-by: guochuyicmri <guochuyi@chinamobile.com>
standalone/src/main/assembly/Dockerfile

index eb17387..476ad77 100644 (file)
@@ -36,7 +36,7 @@ RUN echo "listen_addresses='*'" >> ${PG_HOME}/${PG_VERSION}/main/postgresql.conf
 VOLUME ["${PG_HOME}", "${PG_VAR_LIB}", "${PG_LOGDIR}"]
 
 # Set the default command to run postgreSQL when starting the container
-CMD ["${PG_USR_LIB}/${PG_VERSION}/bin/postgres", "-D", "${PG_VAR_LIB}/${PG_VERSION}/main", "-c", "config_file=${PG_HOME}/${PG_VERSION}/main/postgresql.conf"]
+CMD ["${PG_USR_LIB}/${PG_VERSION}/bin/postgres", "-D", "${PG_VAR_LIB}/${PG_VERSION}/main", "-c", "config_file=${PG_HOME}/${PG_VERSION}/main/postgresql.conf"]
 
 #Configure Java SDK
 RUN sed -i 's|#networkaddress.cache.ttl=-1|networkaddress.cache.ttl=10|' /usr/lib/jvm/java-8-openjdk-amd64/jre/lib/security/java.security