7
0
mirror of https://github.com/ChristianLight/tutor.git synced 2024-06-27 09:03:28 +00:00

Prevent package uninstall in openedx image

The `update_assets` paver task of the lms/cms attempt to manually
uninstall some old packages. We should not concern ourselves by this,
since all requirements are installed from scratch in every docker image.

Close #73.
This commit is contained in:
Régis Behmo 2018-10-01 19:18:01 +02:00
parent 30b23462d1
commit b4947d10e7

View File

@ -28,6 +28,7 @@ RUN git clone $EDX_PLATFORM_REPOSITORY --branch $EDX_PLATFORM_VERSION --depth 1
# Install python requirements (clone source repos in a separate dir, otherwise
# will be overwritten when we mount edx-platform)
ENV NO_PYTHON_UNINSTALL 1
RUN pip install --src ../venv/src -r requirements/edx/base.txt
RUN pip install --src ../venv/src -r requirements/edx/development.txt