gnunet-handbook

The GNUnet Handbook
Log | Files | Refs

Dockerfile (1125B)


      1 # Toolchain for building the handbook, used by .buildbot/build.sh.
      2 #
      3 # The image holds only the tools; build.sh mounts the checkout and runs
      4 # sphinx-multiversion over its git refs.  Everything comes from Debian
      5 # trixie, so the result is the same as a build on a trixie host with
      6 # these packages installed: Sphinx 8.1.3, sphinx-rtd-theme 3.0.2 and
      7 # sphinx-multiversion 0.2.4.
      8 #
      9 # sphinx-multiversion builds every version with the conf.py, _exts/,
     10 # _templates/ and _static/ of the checkout, so no other theme is needed
     11 # for older branches that name one in their own conf.py.
     12 
     13 FROM docker.io/library/debian:trixie
     14 
     15 ENV DEBIAN_FRONTEND=noninteractive \
     16     LANG=C.UTF-8
     17 
     18 RUN apt-get update \
     19  && apt-get install -y --no-install-recommends \
     20       git \
     21       python3-sphinx \
     22       python3-sphinx-multiversion \
     23       python3-sphinx-rtd-theme \
     24       sphinx-multiversion \
     25  && rm -rf /var/lib/apt/lists/*
     26 
     27 # Under docker the mounted checkout is owned by the host user rather than
     28 # by the user in the container, and git refuses to read a repository owned
     29 # by someone else.
     30 RUN git config --system --add safe.directory '*'