From 9d93bd20bd03a7e923a0d109f5487351eb2a4ae2 Mon Sep 17 00:00:00 2001 From: Manabu McCloskey Date: Wed, 18 Sep 2024 23:35:08 +0000 Subject: [PATCH] add mkdoc to docker image Signed-off-by: Manabu McCloskey --- Dockerfile | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Dockerfile b/Dockerfile index 817041c..4ca64a3 100644 --- a/Dockerfile +++ b/Dockerfile @@ -89,6 +89,14 @@ RUN curl -L -O https://github.com/cnoe-io/cnoe-cli/releases/download/v0.1.0/cnoe COPY ./cnoe-wrapper.sh /usr/bin/cnoe RUN chmod +x /usr/bin/cnoe +RUN apt-get update && apt-get install -y python3 python3-pip python3-venv + +ENV VIRTUAL_ENV=/opt/venv +RUN python3 -m venv $VIRTUAL_ENV +ENV PATH="$VIRTUAL_ENV/bin:$PATH" + +RUN pip3 install mkdocs-techdocs-core + # From here on we use the least-privileged `node` user to run the backend. USER node