diff --git a/readthedocs/doc_builder/environments.py b/readthedocs/doc_builder/environments.py index 5ad91a9c8e2..9958a1400e0 100644 --- a/readthedocs/doc_builder/environments.py +++ b/readthedocs/doc_builder/environments.py @@ -991,6 +991,8 @@ def _get_binds(self): }, } + binds.update(settings.RTD_DOCKER_ADDITIONAL_BINDS) + return binds def get_container_host_config(self): diff --git a/readthedocs/settings/base.py b/readthedocs/settings/base.py index 59476ac4ae1..471c024c6ff 100644 --- a/readthedocs/settings/base.py +++ b/readthedocs/settings/base.py @@ -488,6 +488,8 @@ def TEMPLATES(self): 'readthedocs/build:latest': DOCKER_IMAGE_SETTINGS.get('readthedocs/build:6.0'), 'readthedocs/build:testing': DOCKER_IMAGE_SETTINGS.get('readthedocs/build:7.0'), }) + # Additional binds for the build container + RTD_DOCKER_ADDITIONAL_BINDS = {} def _get_docker_memory_limit(self): try: