diff --git a/changelog.d/20241113_131448_feanil_fix_uwsgi_xml_issues_master.md b/changelog.d/20241113_131448_feanil_fix_uwsgi_xml_issues_master.md new file mode 100644 index 0000000000..05edc22c2d --- /dev/null +++ b/changelog.d/20241113_131448_feanil_fix_uwsgi_xml_issues_master.md @@ -0,0 +1,13 @@ + + + + + +[Bugfix] Don't build uwsgi with XML support (by @feanil) diff --git a/tutor/templates/build/openedx/Dockerfile b/tutor/templates/build/openedx/Dockerfile index 621b463422..4ca2de9f46 100644 --- a/tutor/templates/build/openedx/Dockerfile +++ b/tutor/templates/build/openedx/Dockerfile @@ -94,8 +94,10 @@ RUN --mount=type=bind,from=edx-platform,source=/requirements/edx/base.txt,target pip install -r /openedx/edx-platform/requirements/edx/base.txt # Install extra requirements +# We don't need xml configuration support in uwsgi so don't install it. RUN --mount=type=cache,target=/openedx/.cache/pip,sharing=shared \ - pip install \ + UWSGI_PROFILE_OVERRIDE="xml=no" \ + pip install --no-cache-dir --compile \ # Use redis as a django cache https://pypi.org/project/django-redis/ django-redis==5.4.0 \ # uwsgi server https://pypi.org/project/uWSGI/