mirror of
https://github.com/ChristianLight/tutor.git
synced 2024-06-15 20:12:20 +00:00
Accelerate build step by making a shallow git clone
This commit is contained in:
parent
bba21ac592
commit
9546be53e9
|
@ -23,8 +23,7 @@ VOLUME /openedx/data
|
|||
WORKDIR /openedx/edx-platform
|
||||
|
||||
## Checkout edx-platform code
|
||||
RUN git clone https://github.com/edx/edx-platform.git . && \
|
||||
git checkout open-release/ginkgo.master
|
||||
RUN git clone https://github.com/edx/edx-platform.git --branch open-release/ginkgo.master --depth 1 .
|
||||
|
||||
# Install python requirements
|
||||
RUN pip install -r requirements/edx/pre.txt
|
||||
|
|
Loading…
Reference in New Issue
Block a user