Fixed Doxkerfile for documentation to build in a virtualenv. This is required for Archlinux
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Anne de Jong 2023-07-14 09:38:51 +02:00
parent 30ce35d29b
commit ddbb842c14

View File

@ -1,13 +1,16 @@
FROM archlinux FROM archlinux
MAINTAINER J.A. de Jong - j.a.dejong@ascee.nl MAINTAINER J.A. de Jong - j.a.dejong@ascee.nl
RUN pacman --noconfirm -Sy RUN pacman --noconfirm -Sy
RUN pacman --noconfirm -S git doxygen graphviz lighttpd python-pip RUN pacman --noconfirm -S git doxygen graphviz lighttpd python-pip python-virtualenv
RUN pip install doxypypy
WORKDIR /root WORKDIR /root
ENV VIRTUAL_ENV=/root/testenv
RUN python3 -m venv $VIRTUAL_ENV
ENV PATH="$VIRTUAL_ENV/bin:$PATH"
RUN pip install doxypypy
RUN git clone https://code.ascee.nl/ascee/lasp RUN git clone https://code.ascee.nl/ascee/lasp
WORKDIR /root/lasp WORKDIR /root/lasp
RUN doxygen RUN doxygen
RUN rm -rf /srv//http RUN rm -rf /srv/http
RUN mv doc/html /srv/http RUN mv doc/html /srv/http
CMD /usr/bin/lighttpd -D -f /etc/lighttpd/lighttpd.conf CMD /usr/bin/lighttpd -D -f /etc/lighttpd/lighttpd.conf