[KYUUBI #6175] [MINOR] Refactor copy path about SPARK_HOME in docker

# 🔍 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 🔖

- [ ] 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 ⚰️

#### Behavior With This Pull Request 🎉

#### 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 <yanghua1127@gmail.com>
Signed-off-by: Cheng Pan <chengpan@apache.org>
This commit is contained in:
yanghua 2024-03-13 11:16:44 +08:00 committed by Cheng Pan
parent bfef00d722
commit 412cd93d05
No known key found for this signature in database
GPG Key ID: 8001952629BCC75D

View File

@ -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