Skip to content

Commit

Permalink
modify
Browse files Browse the repository at this point in the history
  • Loading branch information
Xiang Wang authored and Xiang Wang committed Jun 12, 2024
1 parent bae59fb commit c4ec02d
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
5 changes: 3 additions & 2 deletions devops/dockerfile/github-action-runner/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
FROM fedml/fedml:latest-torch1.13.1-cuda11.6-cudnn8-devel

# set the github runner version
ARG RUNNER_VERSION="2.304.0"
ARG RUNNER_VERSION="2.317.0"

# update the base packages and add a non-sudo user
#RUN apt-get update -y && apt-get upgrade -y && useradd -m docker
Expand Down Expand Up @@ -35,7 +35,8 @@ RUN pip install tensorflow && pip install tensorflow_datasets && pip install jax
# set the user to "docker" so all subsequent commands are run as the docker user
#USER docker

ENV REPO=FedML-AI/FedML ACCESS_TOKEN=1
RUN git clone https://github.com/Qigemingziba/FedML.git
ENV REPO=Qigemingziba/FedML ACCESS_TOKEN=AGMK3P4W5EM5PXNYTZXXIMTGNF4MW

# set the entrypoint to the start.sh script
CMD ./start.sh ${REPO} ${ACCESS_TOKEN}
2 changes: 1 addition & 1 deletion devops/dockerfile/github-action-runner/DockerfileLight
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,6 @@ RUN git clone https://github.com/Qigemingziba/FedML.git
#USER docker
# RUN cd FedML/python && pip install -i https://pypi.tuna.tsinghua.edu.cn/simple -e ./ --use-deprecated=legacy-resolver

ENV REPO=Qigemingziba/FedML ACCESS_TOKEN=AGMK3PYQYBAN7PF57A7OWNTGNE7FA
ENV REPO=Qigemingziba/FedML ACCESS_TOKEN=AGMK3P4W5EM5PXNYTZXXIMTGNF4MW
# set the entrypoint to the start.sh script
CMD ./start.sh ${REPO} ${ACCESS_TOKEN}
4 changes: 2 additions & 2 deletions devops/dockerfile/github-action-runner/build.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
docker build -t fedml/github-action-runner:latest -f ./Dockerfile .
docker login
docker push fedml/github-action-runner:latest
docker build -t fedml/github-action-runner-torch:wx_test -f ./Dockerfile .
docker push fedml/github-action-runner-torch:wx_test

0 comments on commit c4ec02d

Please sign in to comment.