Skip to content

Commit

Permalink
Load example from Github release asset
Browse files Browse the repository at this point in the history
  • Loading branch information
Hanbin Hu committed May 15, 2020
1 parent fcae7aa commit 7c1906c
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions dockerfile.cpu
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,9 @@ RUN pip install "Pillow<7.0" --no-deps
RUN pip install bluefog

RUN mkdir /bluefog
COPY ./examples/pytorch_*.py /bluefog/examples/
COPY ./test/torch_*.py /bluefog/test/
COPY ./test/common.py /bluefog/test/
COPY ./test/timeline_test.py /bluefog/test/
RUN cd /bluefog && \
wget https://github.com/Bluefog-Lib/bluefog/releases/download/v0.2.0/examples_v0.2.0.tar.gz && \
tar -zxv -f examples_v0.2.0.tar.gz && \
rm examples_v0.2.0.tar.gz

WORKDIR "bluefog"
8 changes: 4 additions & 4 deletions dockerfile.gpu
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,9 @@ RUN pip install "Pillow<7.0" --no-deps
RUN pip install bluefog

RUN mkdir /bluefog
COPY ./examples/pytorch_*.py /bluefog/examples/
COPY ./test/torch_*.py /bluefog/test/
COPY ./test/common.py /bluefog/test/
COPY ./test/timeline_test.py /bluefog/test/
RUN cd /bluefog && \
wget https://github.com/Bluefog-Lib/bluefog/releases/download/v0.2.0/examples_v0.2.0.tar.gz && \
tar -zxv -f examples_v0.2.0.tar.gz && \
rm examples_v0.2.0.tar.gz

WORKDIR "bluefog"

0 comments on commit 7c1906c

Please sign in to comment.