This is an automated email from the ASF dual-hosted git repository.
ethanfeng pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/celeborn.git
The following commit(s) were added to refs/heads/main by this push:
new 3726aefec [CELEBORN-1659][FOLLOWUP] Dockerfile should support copying
CLI jars
3726aefec is described below
commit 3726aefecf80ef28e92094d45f49f51533c72c00
Author: SteNicholas <[email protected]>
AuthorDate: Mon Oct 21 11:37:41 2024 +0800
[CELEBORN-1659][FOLLOWUP] Dockerfile should support copying CLI jars
### What changes were proposed in this pull request?
Dockerfile should support copying CLI jars.
### Why are the changes needed?
CLI jars are generated from `make-distribution.sh`. Therefore, Dockerfile
could copy CLI jars to `/opt/celeborn/` directory.
### Does this PR introduce _any_ user-facing change?
No.
### How was this patch tested?
No.
Closes #2823 from SteNicholas/CELEBORN-1659.
Authored-by: SteNicholas <[email protected]>
Signed-off-by: mingji <[email protected]>
---
README.md | 3 ++-
docker/Dockerfile | 1 +
2 files changed, 3 insertions(+), 1 deletion(-)
diff --git a/README.md b/README.md
index f4824f0ef..3733e19ef 100644
--- a/README.md
+++ b/README.md
@@ -100,7 +100,8 @@ General package layout:
├── conf
├── jars // common jars for master and worker
├── master-jars
- ├── worker-jars
+ ├── worker-jars
+ ├── cli-jars
├── spark // Spark client jars if spark profiles are activated
├── flink // Flink client jars if flink profiles are activated
├── mr // MapReduce client jars if mr profile is activated
diff --git a/docker/Dockerfile b/docker/Dockerfile
index 06c7f3dda..3ca389661 100644
--- a/docker/Dockerfile
+++ b/docker/Dockerfile
@@ -42,6 +42,7 @@ COPY conf /opt/celeborn/conf
COPY jars /opt/celeborn/jars
COPY master-jars /opt/celeborn/master-jars
COPY worker-jars /opt/celeborn/worker-jars
+COPY cli-jars /opt/celeborn/cli-jars
COPY RELEASE /opt/celeborn/RELEASE
RUN chown -R celeborn:celeborn ${CELEBORN_HOME} && \