Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ability to install third-party xblocks at runtime without needing to rebuild docker image (docker-compose only) #1208

Open
DawoudSheraz opened this issue Mar 11, 2025 · 0 comments
Labels
enhancement Enhancements will be processed by decreasing priority

Comments

@DawoudSheraz
Copy link
Contributor

Currently, when we install any third-party xblocks via OPENEDX_EXTRA_PIP_REQUIREMENTS or mounts, openedx image needs to be re-build for the following:

  • pip install the package
  • re-build static assets to bring in static assets of xblock
  • xblock translations

While buildx cache can reduce the image build time, we don't the capability to add the xblocks at runtime. This initiative is meant to find out the ways we can do so without having to re-build docker image. One way can be to have a virtualenv that is bind mounted at runtime, though it only resolves the pip install action item and not others.
For now, we can focus only on docker-compose flow and ignore k8s. The said mechanism will allow having src based plugins in tpi where one could easily toggle third-party xblocks.

@DawoudSheraz DawoudSheraz added the enhancement Enhancements will be processed by decreasing priority label Mar 11, 2025
@DawoudSheraz DawoudSheraz moved this from Pending Triage to Backlog in Tutor project management Mar 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Enhancements will be processed by decreasing priority
Projects
Development

No branches or pull requests

1 participant