Skip to content

Commit

Permalink
Enhance large GitHub repository cloning in Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexey Pechnikov committed May 27, 2024
1 parent 6596162 commit 4ac5f32
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion docker/pygmtsar.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,8 @@ USER ${NB_UID}
WORKDIR "${HOME}"

# Clone only the pygmtsar2 branch
RUN git clone --branch pygmtsar2 --single-branch https://github.com/AlexeyPechnikov/pygmtsar.git \
RUN git config --global http.postBuffer 524288000 \
&& git clone --branch pygmtsar2 --single-branch https://github.com/AlexeyPechnikov/pygmtsar.git \
&& mv pygmtsar/notebooks ./notebooks \
&& mv pygmtsar/README.md ./ \
&& rm -rf pygmtsar work
Expand Down

0 comments on commit 4ac5f32

Please sign in to comment.