From e5c26364b66820bfa921f2bc1edc99327f962e34 Mon Sep 17 00:00:00 2001 From: yanghua Date: Wed, 13 Mar 2024 00:18:54 +0800 Subject: [PATCH] Refactor copy path about SPARK_HOME in docker --- bin/docker-image-tool.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/docker-image-tool.sh b/bin/docker-image-tool.sh index 2412f39c7ea..2e8e356b7f0 100755 --- a/bin/docker-image-tool.sh +++ b/bin/docker-image-tool.sh @@ -110,7 +110,7 @@ function build { error "Cannot found dir SPARK_HOME $SPARK_HOME, you must configure SPARK_HOME correct." fi fi - cp -r "$SPARK_HOME/." "$KYUUBI_ROOT/spark-binary/" + cp -r "$SPARK_HOME"/* "$KYUUBI_ROOT"/spark-binary/ fi # Verify that the Docker image content directory is present