Repository: incubator-predictionio
Updated Branches:
  refs/heads/develop 4ae8abcbb -> 09504bdb0


[PIO-53] Fix pgpass permission


Project: http://git-wip-us.apache.org/repos/asf/incubator-predictionio/repo
Commit: 
http://git-wip-us.apache.org/repos/asf/incubator-predictionio/commit/09504bdb
Tree: 
http://git-wip-us.apache.org/repos/asf/incubator-predictionio/tree/09504bdb
Diff: 
http://git-wip-us.apache.org/repos/asf/incubator-predictionio/diff/09504bdb

Branch: refs/heads/develop
Commit: 09504bdb0ca14657e9aa9a39af27632786ab112a
Parents: 4ae8abc
Author: Donald Szeto <[email protected]>
Authored: Sat Feb 18 09:40:34 2017 -0800
Committer: Donald Szeto <[email protected]>
Committed: Sat Feb 18 09:40:34 2017 -0800

----------------------------------------------------------------------
 tests/Dockerfile      | 1 +
 tests/build-docker.sh | 1 -
 2 files changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-predictionio/blob/09504bdb/tests/Dockerfile
----------------------------------------------------------------------
diff --git a/tests/Dockerfile b/tests/Dockerfile
index 970ebba..4d74865 100644
--- a/tests/Dockerfile
+++ b/tests/Dockerfile
@@ -30,6 +30,7 @@ COPY docker-files/env-conf/hbase-site.xml 
${PIO_HOME}/conf/hbase-site.xml
 COPY docker-files/env-conf/pio-env.sh /pio-env.sh
 COPY docker-files/wait-for-postgres.sh /wait-for-postgres.sh
 COPY docker-files/pgpass /root/.pgpass
+RUN chmod 600 /root/.pgpass
 
 # Default repositories setup
 ENV PIO_STORAGE_REPOSITORIES_METADATA_SOURCE PGSQL

http://git-wip-us.apache.org/repos/asf/incubator-predictionio/blob/09504bdb/tests/build-docker.sh
----------------------------------------------------------------------
diff --git a/tests/build-docker.sh b/tests/build-docker.sh
index 1c1b9fe..dd95168 100755
--- a/tests/build-docker.sh
+++ b/tests/build-docker.sh
@@ -28,7 +28,6 @@ if [ ! -f $DIR/docker-files/postgresql-9.4-1204.jdbc41.jar ]; 
then
 fi
 
 docker pull predictionio/pio-testing-base
-docker build -t predictionio/pio-testing-base -f Dockerfile.base .
 pushd $DIR/..
 ./make-distribution.sh
 sbt/sbt clean

Reply via email to