lorax/Dockerfile.docs
Brian C. Lane 8930cad4fc Makefile: Use user-mode podman and fix docs-in-docker target
The docs target was broken, which made it difficult to easily update the
documentation and notice missing documentation.

podman is now widespread, and user-mode doesn't need root so switch to
using that. Leave the Makefile target names in place so that CI isn't
confused.

Related: rhbz#1955355
2021-06-29 12:07:03 -07:00

10 lines
335 B
Docker

FROM centos:8
RUN dnf install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
COPY ./test-packages .
RUN dnf -y install $(cat ./test-packages) && touch /.in-container
RUN pip3 install pocketlint Sphinx sphinx-rtd-theme sphinx-argparse
RUN useradd weldr
VOLUME /lorax-ro
VOLUME /test-results
WORKDIR /lorax-ro