From ddbb842c14fcc46e989139211209c130b9986a82 Mon Sep 17 00:00:00 2001 From: "J.A. de Jong - Redu-Sone B.V., ASCEE V.O.F" Date: Fri, 14 Jul 2023 09:38:51 +0200 Subject: [PATCH] Fixed Doxkerfile for documentation to build in a virtualenv. This is required for Archlinux --- Dockerfile | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 2dcced5..3b4dd21 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,13 +1,16 @@ FROM archlinux MAINTAINER J.A. de Jong - j.a.dejong@ascee.nl RUN pacman --noconfirm -Sy -RUN pacman --noconfirm -S git doxygen graphviz lighttpd python-pip -RUN pip install doxypypy +RUN pacman --noconfirm -S git doxygen graphviz lighttpd python-pip python-virtualenv 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 WORKDIR /root/lasp RUN doxygen -RUN rm -rf /srv//http +RUN rm -rf /srv/http RUN mv doc/html /srv/http CMD /usr/bin/lighttpd -D -f /etc/lighttpd/lighttpd.conf