diff --git a/Containerfiles/centos9.Containerfile b/Containerfiles/centos9.Containerfile index e33771dce4..cccce5ddd8 100644 --- a/Containerfiles/centos9.Containerfile +++ b/Containerfiles/centos9.Containerfile @@ -5,7 +5,7 @@ ENV PIP pip3 ENV PYTHONDONTWRITEBYTECODE 1 ENV APP_DEV_DEPS "requirements/centos9.requirements.txt" -ENV APP_DOCS_DEPS "requirements/centos9.requirements.txt" +ENV APP_DOCS_DEPS "docs/requirements.txt" ENV APP_MAIN_DEPS \ util-linux \ python3 \ @@ -23,6 +23,7 @@ RUN dnf update -y && dnf install -y $APP_MAIN_DEPS && dnf clean all FROM install_main_deps as install_dev_deps RUN curl $URL_GET_PIP | $PYTHON COPY $APP_DEV_DEPS $APP_DEV_DEPS +COPY $APP_DOCS_DEPS $APP_DOCS_DEPS RUN $PIP install -r $APP_DEV_DEPS -r $APP_DOCS_DEPS FROM install_dev_deps as install_application diff --git a/requirements/centos7.requirements.txt b/requirements/centos7.requirements.txt index b81321edab..a236f9b49e 100644 --- a/requirements/centos7.requirements.txt +++ b/requirements/centos7.requirements.txt @@ -2,5 +2,3 @@ pytest==4.6.11 pathlib2==2.3.7.post1 mock==3.0.5 pytest-cov==2.12.1 -sphinx -sphinx_autodoc_typehints diff --git a/requirements/centos8.requirements.txt b/requirements/centos8.requirements.txt index be62d7929c..660131586d 100644 --- a/requirements/centos8.requirements.txt +++ b/requirements/centos8.requirements.txt @@ -1,5 +1,3 @@ pytest==7.0.1 pytest-cov==3.0.0 coverage[toml] -sphinx -sphinx_autodoc_typehints diff --git a/requirements/centos9.requirements.txt b/requirements/centos9.requirements.txt index be62d7929c..660131586d 100644 --- a/requirements/centos9.requirements.txt +++ b/requirements/centos9.requirements.txt @@ -1,5 +1,3 @@ pytest==7.0.1 pytest-cov==3.0.0 coverage[toml] -sphinx -sphinx_autodoc_typehints