From c25bc186f22d0d2ad33963177339a24313d717f9 Mon Sep 17 00:00:00 2001
From: Andrei Gherzan <andrei.gherzan@huawei.com>
Date: Mon, 4 Apr 2022 20:52:02 +0200
Subject: [PATCH] ci/docs-builder: Update to ubuntu:21.10-based image

Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com>
---
 .oniro-ci/containers/docs-builder/Dockerfile                | 6 +++---
 .../docs-builder/ppa/zyga-ubuntu-oh-tools-groovy.list       | 4 ----
 .../docs-builder/ppa/zyga-ubuntu-oh-tools-impish.list       | 4 ++++
 3 files changed, 7 insertions(+), 7 deletions(-)
 delete mode 100644 .oniro-ci/containers/docs-builder/ppa/zyga-ubuntu-oh-tools-groovy.list
 create mode 100644 .oniro-ci/containers/docs-builder/ppa/zyga-ubuntu-oh-tools-impish.list

diff --git a/.oniro-ci/containers/docs-builder/Dockerfile b/.oniro-ci/containers/docs-builder/Dockerfile
index 6872dadf..df6b43b8 100644
--- a/.oniro-ci/containers/docs-builder/Dockerfile
+++ b/.oniro-ci/containers/docs-builder/Dockerfile
@@ -1,9 +1,9 @@
 # SPDX-FileCopyrightText: Huawei Inc.
 # SPDX-License-Identifier: Apache-2.0
 
-FROM ubuntu:20.10
+FROM ubuntu:21.10
 
-COPY --chown=root:root ppa/zyga-ubuntu-oh-tools-groovy.list /etc/apt/sources.list.d/
+COPY --chown=root:root ppa/zyga-ubuntu-oh-tools-impish.list /etc/apt/sources.list.d/
 COPY --chown=root:root ppa/zyga-ubuntu-oh-tools.gpg /etc/apt/trusted.gpg.d/
 
 ARG DEBIAN_FRONTEND="noninteractive"
@@ -13,5 +13,5 @@ RUN apt-get update -qq \
       git-repo git git-lfs \
       python3-sphinx python3-sphinx-rtd-theme python3-recommonmark python3-sphinx-tabs \
       python3-sphinxcontrib.plantuml \
- && eatmydata apt-get install -qq -y 'ca-certificates=20210119~20.10.1' \
+ && eatmydata apt-get install -qq -y 'ca-certificates=20210119ubuntu1' \
  && eatmydata apt-get clean && rm -rf /var/lib/apt/lists/*
diff --git a/.oniro-ci/containers/docs-builder/ppa/zyga-ubuntu-oh-tools-groovy.list b/.oniro-ci/containers/docs-builder/ppa/zyga-ubuntu-oh-tools-groovy.list
deleted file mode 100644
index 2479e09f..00000000
--- a/.oniro-ci/containers/docs-builder/ppa/zyga-ubuntu-oh-tools-groovy.list
+++ /dev/null
@@ -1,4 +0,0 @@
-# SPDX-License-Identifier: Apache-2.0
-# SPDX-FileCopyrightText: 2020 Huawei Inc.
-deb http://ppa.launchpad.net/zyga/oh-tools/ubuntu/ groovy main
-# deb-src http://ppa.launchpad.net/zyga/oh-tools/ubuntu/ groovy main
diff --git a/.oniro-ci/containers/docs-builder/ppa/zyga-ubuntu-oh-tools-impish.list b/.oniro-ci/containers/docs-builder/ppa/zyga-ubuntu-oh-tools-impish.list
new file mode 100644
index 00000000..4d86cf37
--- /dev/null
+++ b/.oniro-ci/containers/docs-builder/ppa/zyga-ubuntu-oh-tools-impish.list
@@ -0,0 +1,4 @@
+# SPDX-License-Identifier: Apache-2.0
+# SPDX-FileCopyrightText: 2020 Huawei Inc.
+deb http://ppa.launchpad.net/zyga/oh-tools/ubuntu/ impish main
+# deb-src http://ppa.launchpad.net/zyga/oh-tools/ubuntu/ impish main
-- 
GitLab