Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make Launch Containerization API Based #2080

Draft
wants to merge 17 commits into
base: dev/v0.7.0
Choose a base branch
from
Draft
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix Docker File
alaydshah committed May 8, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
commit 04fa0cb7cd8e9202883d2117eeac251a90a7391a
10 changes: 4 additions & 6 deletions devops/dockerfile/fedml-launch/job/Dockerfile
Original file line number Diff line number Diff line change
@@ -8,9 +8,6 @@ RUN mkdir -p ${HOME_DIR}/fedml-pip
COPY ./python ${HOME_DIR}/fedml-pip
WORKDIR ${HOME_DIR}/fedml-pip
RUN pip3 install ./

# 1. Specify Bootrap file path (If any)
ENV BOOTSTRAP_SCRIPT=""

# 2. MOUNT User's Local Folder (If any)
ENV DATA_FOLDER=""
@@ -19,9 +16,10 @@ VOLUME [ DATA_FOLDER ]
# 3. MOUNT Fedml Home Folder
VOLUME ["/home/fedml/launch"]

# 4. Enter the entrypoint
# 4. Enter the bootstrap and job entrypoints
WORKDIR ${HOME_DIR}/launch
ENV MAIN_ENTRY=""
ENV BOOTSTRAP_SCRIPT="fedml_bootstrap_generated.sh"
ENV MAIN_ENTRY="fedml_job_entry_pack.sh'"

# Run Bootstrap Script and Main Entry File
CMD /bin/bash ${BOOTSTRAP_SCRIPT}; python3 ${MAIN_ENTRY}
CMD /bin/bash ${BOOTSTRAP_SCRIPT}; /bin/bash ${MAIN_ENTRY}