6
0
mirror of https://github.com/ChristianLight/tutor.git synced 2025-01-24 14:08:23 +00:00

security: add upstream security patch in Open edX image (#1100)

This commit is contained in:
Syed Muhammad Dawoud Sheraz Ali 2024-07-26 18:03:28 +05:00 committed by GitHub
parent 01d078c284
commit 6549442c0b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 6 additions and 0 deletions

View File

@ -0,0 +1 @@
- [Security] Add upstream security fix as patch in Open edX image (by @dawoudsheraz)

View File

@ -53,6 +53,11 @@ RUN git config --global user.email "tutor@overhang.io" \
# Patches in nightly node
{%- else %}
# Patches in non-nightly mode
# Security patch around content library permissions
# https://discuss.openedx.org/t/security-upcoming-security-release-for-edx-platform-2024-07-25/13473
# https://github.com/openedx/edx-platform/pull/35180
RUN curl -fsSL https://github.com/openedx/edx-platform/commit/3160ff68ca4a4516375af3307fe84f22cd5e5b36.patch | git am
{%- endif %}
{# Example: RUN curl -fsSL https://github.com/openedx/edx-platform/commit/<GITSHA1>.patch | git am #}