From 412cd93d052a69573f320aac5be9e8f7f5f7ec32 Mon Sep 17 00:00:00 2001 From: yanghua Date: Wed, 13 Mar 2024 11:16:44 +0800 Subject: [PATCH] [KYUUBI #6175] [MINOR] Refactor copy path about SPARK_HOME in docker MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit # :mag: Description ## Issue References ๐Ÿ”— This pull request fixes # ## Describe Your Solution ๐Ÿ”ง Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change. ## Types of changes :bookmark: - [ ] Bugfix (non-breaking change which fixes an issue) - [ ] New feature (non-breaking change which adds functionality) - [ ] Breaking change (fix or feature that would cause existing functionality to change) ## Test Plan ๐Ÿงช #### Behavior Without This Pull Request :coffin: #### Behavior With This Pull Request :tada: #### Related Unit Tests --- # Checklist ๐Ÿ“ - [ ] This patch was not authored or co-authored using [Generative Tooling](https://www.apache.org/legal/generative-tooling.html) **Be nice. Be informative.** Closes #6175 from yanghua/docker-minor-refactor. Closes #6175 e5c26364b [yanghua] Refactor copy path about SPARK_HOME in docker Authored-by: yanghua Signed-off-by: Cheng Pan --- 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