feat: openedx Dockerfile python requirements extension patch

Add patches to extend python requirements installation process in openedx and openedx-dev Dockerfiles
This commit is contained in:
Eric Herrera 2021-04-07 08:24:29 -05:00 committed by Régis Behmo
parent 9a16391d45
commit a05486e7b0
3 changed files with 5 additions and 0 deletions

View File

@ -3,6 +3,7 @@
Note: Breaking changes between versions are indicated by "💥".
## Unreleased
- [Feature] Add patches to extend python requirements installation process in openedx and openedx-dev Dockerfiles.
## v11.2.6 (2021-04-09)

View File

@ -13,6 +13,8 @@ RUN pip install -r requirements/edx/development.txt
# We might be able to avoid this once they make a release later than 7.19.0.
RUN pip install ipdb==0.13.4 git+https://github.com/ipython/ipython.git@d0649a54a8936a8019d54549779dc92bcbde4e68#egg=ipython
{{ patch("openedx-dev-dockerfile-post-python-requirements") }}
# Recompile static assets: in development mode all static assets are stored in edx-platform,
# and the location of these files is stored in webpack-stats.json. If we don't recompile
# static assets, then production assets will be served instead.

View File

@ -87,6 +87,8 @@ RUN pip install django-redis==4.12.1
# Install uwsgi
RUN pip install uwsgi==2.0.19.1
{{ patch("openedx-dockerfile-post-python-requirements") }}
# Install private requirements: this is useful for installing custom xblocks.
COPY ./requirements/ /openedx/requirements
RUN cd /openedx/requirements/ \