This is an automated email from the ASF dual-hosted git repository.

leesf pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-hudi.git


The following commit(s) were added to refs/heads/master by this push:
     new 323fffa  [HUDI-606] Improve execute build_local_docker_images.sh script
323fffa is described below

commit 323fffad0dccf0ca5cb4e533e7fbcd2a2bcfaf3b
Author: lamber-ken <lamber...@163.com>
AuthorDate: Wed Feb 12 13:29:13 2020 +0800

    [HUDI-606] Improve execute build_local_docker_images.sh script
---
 docker/build_local_docker_images.sh | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/docker/build_local_docker_images.sh 
b/docker/build_local_docker_images.sh
index 089826f..2d97f54 100755
--- a/docker/build_local_docker_images.sh
+++ b/docker/build_local_docker_images.sh
@@ -16,6 +16,9 @@
 #  See the License for the specific language governing permissions and
 # limitations under the License.
 
+SCRIPT_PATH=$(cd `dirname $0`; pwd)
+WS_ROOT=`dirname $SCRIPT_PATH`
+
 while true; do
     read -p  "Docker images can be downloaded from docker hub and seamlessly 
mounted with latest HUDI jars. Do you still want to build docker images from 
scratch ?" yn
     case $yn in
@@ -24,6 +27,6 @@ while true; do
         * ) echo "Please answer yes or no.";;
     esac
 done
-pushd ../
+pushd ${WS_ROOT}
 mvn clean pre-integration-test -DskipTests -Ddocker.compose.skip=true 
-Ddocker.build.skip=false
 popd

Reply via email to