From b4947d10e7106e48d0bf5b59bdcec1fcc14382ec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9gis=20Behmo?= Date: Mon, 1 Oct 2018 19:18:01 +0200 Subject: [PATCH] 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. --- openedx/Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/openedx/Dockerfile b/openedx/Dockerfile index 37bf81e..448222a 100644 --- a/openedx/Dockerfile +++ b/openedx/Dockerfile @@ -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