Dockerfile (510B)
1 # Stage 1 2 3 FROM debian:bookworm-slim AS repo 4 5 RUN apt update \ 6 && apt install --no-install-recommends -y ca-certificates git 7 8 RUN git clone --branch=master --depth=1 https://git.taler.net/docs.git 9 10 # Final image 11 12 FROM sphinxdoc/sphinx-latexpdf 13 14 # Copy content from one container to the other 15 16 WORKDIR /docs 17 18 COPY --from=repo /docs . 19 20 # Install dependencies 21 22 RUN python3 -m pip install --no-cache-dir recommonmark 23 24 # Compile /docs/* 25 26 ENTRYPOINT ["make", "BUILDDIR=/output", "-C", "/docs", "html", "latexpdf"] 27