From 87e52bb0d21d85dda07df67be1cfcee6774f81f2 Mon Sep 17 00:00:00 2001
From: Andrei Gherzan <andrei.gherzan@huawei.com>
Date: Mon, 25 Jul 2022 13:52:29 +0200
Subject: [PATCH] ci: Use sphinx-tabs from pip in docs-builder

The Ubuntu version we downgraded to doesn't have support for
sphinx-tabs. Switch that to pip until we can upgrade to 22.04.

Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com>
---
 .oniro-ci/containers/docs-builder/Dockerfile | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/.oniro-ci/containers/docs-builder/Dockerfile b/.oniro-ci/containers/docs-builder/Dockerfile
index 006fd3d7..5556ce60 100644
--- a/.oniro-ci/containers/docs-builder/Dockerfile
+++ b/.oniro-ci/containers/docs-builder/Dockerfile
@@ -11,7 +11,9 @@ RUN apt-get update -qq \
  && apt-get install -y eatmydata \
  && eatmydata apt-get install -qq -y \
       git-repo git git-lfs \
-      python3-sphinx python3-sphinx-rtd-theme python3-recommonmark python3-sphinx-tabs \
+      python3-pip python3-sphinx python3-sphinx-rtd-theme python3-recommonmark \
       python3-sphinxcontrib.plantuml \
  && eatmydata apt-get install -qq -y 'ca-certificates=20211016~20.04.1' \
  && eatmydata apt-get clean && rm -rf /var/lib/apt/lists/*
+
+RUN pip3 install sphinx-tabs
-- 
GitLab