ci: Update docs workflow to use fcos-buildroot
authorColin Walters <walters@verbum.org>
Mon, 14 Mar 2022 13:27:07 +0000 (09:27 -0400)
committerColin Walters <walters@verbum.org>
Mon, 14 Mar 2022 13:27:07 +0000 (09:27 -0400)
This way we can also use `./ci/installdeps.sh` which avoids yet
another list of dependencies.

.github/workflows/docs.yml

index 74f5e9d6c9dfe664c01c14fbe1a962cc6a30dea6..fe120fded9fa2b96fbdb0f3835360f2e74ee25ff 100644 (file)
@@ -16,6 +16,7 @@ jobs:
   docs:
     name: Build documentation
     runs-on: ubuntu-latest
+    container: registry.ci.openshift.org/coreos/fcos-buildroot:testing-devel
     steps:
       - name: Checkout repository
         uses: actions/checkout@v2
@@ -23,39 +24,7 @@ jobs:
       # This is taken from ci/travis-install.sh but should probably be
       # refactored.
       - name: Install dependencies
-        run: |
-          sudo apt-get update
-          sudo apt-get install -y \
-            attr \
-            bison \
-            cpio \
-            debhelper \
-            dh-autoreconf \
-            dh-systemd \
-            docbook-xml \
-            docbook-xsl \
-            e2fslibs-dev \
-            elfutils \
-            fuse \
-            gjs \
-            gnome-desktop-testing \
-            gobject-introspection \
-            gtk-doc-tools \
-            libarchive-dev \
-            libattr1-dev \
-            libcap-dev \
-            libfuse-dev \
-            libgirepository1.0-dev \
-            libglib2.0-dev \
-            libgpgme11-dev \
-            liblzma-dev \
-            libmount-dev \
-            libselinux1-dev \
-            libsoup2.4-dev \
-            libcurl4-openssl-dev \
-            procps \
-            zlib1g-dev \
-            python3-yaml
+        run: ./ci/installdeps.sh
 
       - name: Build API docs
         run: |