From bae65ff70195fdaa9e2aa5363c66efa3b9326a1c Mon Sep 17 00:00:00 2001 From: Daniel Rudnitski Date: Wed, 25 May 2022 21:36:22 -0400 Subject: [PATCH] feat: patch for openedx-dockerfile-final --- CHANGELOG.md | 1 + docs/reference/patches.rst | 7 +++++++ tutor/templates/build/openedx/Dockerfile | 3 +++ 3 files changed, 11 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index e6c85f7..37b624b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -18,6 +18,7 @@ Every user-facing change should have an entry in this changelog. Please respect ## Unreleased +- [Feature] Add patch to allow overriding final openedx docker image CMD - [Fix] Ignore Python plugins that cannot be loaded. (by @regisb) - [Improvement] Faster and more reliable builds with `npm clean-install` instead of `npm install`. (by @regisb. Thanks @ghassanmas!) - [Fix] Fix 500 error during studio login. (by @regisb) diff --git a/docs/reference/patches.rst b/docs/reference/patches.rst index 7600996..3dc104a 100644 --- a/docs/reference/patches.rst +++ b/docs/reference/patches.rst @@ -266,6 +266,13 @@ Files: ``apps/openedx/settings/cms/development.py``, ``apps/openedx/settings/lms File: ``build/openedx/Dockerfile`` +.. patch:: openedx-dockerfile-final + +``openedx-dockerfile-final`` +============================ + +File: ``build/openedx/Dockerfile`` + .. patch:: openedx-dockerfile-git-patches-default ``openedx-dockerfile-git-patches-default`` diff --git a/tutor/templates/build/openedx/Dockerfile b/tutor/templates/build/openedx/Dockerfile index 6c3d809..f19cfaa 100644 --- a/tutor/templates/build/openedx/Dockerfile +++ b/tutor/templates/build/openedx/Dockerfile @@ -255,3 +255,6 @@ CMD uwsgi \ --processes=${UWSGI_WORKERS:-2} \ --buffer-size=8192 \ --wsgi-file $SERVICE_VARIANT/wsgi.py + +{{ patch("openedx-dockerfile-final") }} +