Lines Matching +full:- +full:- +full:disable +full:- +full:docs

2 # -*- vim: set expandtab tabstop=2 shiftwidth=2:
10 # ./documentation/tools/build-docs-container <image> [<make target>]
14 # ./documentation/tools/build-docs-container ubuntu:24.04 html
16 # Will build the docs in an Ubuntu 24.04 container in html.
21 set -eu -o pipefail
23 SCRIPT_DIR=$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" &>/dev/null && pwd)
24 CONTAINERCMD=${CONTAINERCMD:-docker}
30 echo "$0 -- script to build documentation from within a container
36 - debian:12
37 - fedora:38
38 - fedora:39
39 - fedora:40
40 - leap:15.4
41 - leap:15.5
42 - ubuntu:22.04
43 - ubuntu:24.04
54 if [ "$#" -lt 1 ]; then
66 sanitized_dockername=$(echo "$image" | tr ':.' '-')
69 version=$(echo "$image" | awk -F: '{print $NF}')
72 # Missing latexmk texlive-gnu-freefont packages at the very least
76 # docs=almalinux_docs.sh
80 # Missing python3-saneyaml
84 docs=ubuntu_docs.sh
91 docs=fedora_docs.sh
104 # Checking permissions and ownerships - using the permissions files
112 # warning: %post(permissions-20240826-150600.10.12.1.x86_64) scriptlet failed, exit status 1
117 docs=opensuse_docs.sh
121 # Missing python3-saneyaml
129 docs=ubuntu_docs.sh
140 --tag "yocto-docs-$sanitized_dockername:latest" \
141 --build-arg ARG_FROM="docker.io/$image" \
142 --build-arg DOCS="$docs" \
143 --build-arg DOCS_PDF="$docs_pdf" \
144 --build-arg PIP3="${pip3:-}" \
145 --file "$SCRIPT_DIR/$containerfile" \
148 local -a args_run=(
149 --rm
150 --interactive
151 --tty
152 --volume="$DOCS_DIR:/docs:rw"
153 --workdir=/docs
154 --security-opt label=disable
159 --user="$(id -u)":"$(id -g)"
164 --cap-add=NET_RAW
165 --userns=keep-id
171 "yocto-docs-$sanitized_dockername" \