7
0
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:
Régis Behmo 2018-02-07 19:37:54 +01:00
parent bba21ac592
commit 9546be53e9

View File

@ -23,8 +23,7 @@ VOLUME /openedx/data
WORKDIR /openedx/edx-platform WORKDIR /openedx/edx-platform
## Checkout edx-platform code ## Checkout edx-platform code
RUN git clone https://github.com/edx/edx-platform.git . && \ RUN git clone https://github.com/edx/edx-platform.git --branch open-release/ginkgo.master --depth 1 .
git checkout open-release/ginkgo.master
# Install python requirements # Install python requirements
RUN pip install -r requirements/edx/pre.txt RUN pip install -r requirements/edx/pre.txt