From 709194330fe4a18d69d8893c6bc96e135daa9a13 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Mon, 13 Dec 2021 11:26:05 +0100 Subject: [PATCH] root: install lxml before regular install to prevent xmlsec issues Signed-off-by: Jens Langhammer --- Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Dockerfile b/Dockerfile index fad521d50..6e245fd53 100644 --- a/Dockerfile +++ b/Dockerfile @@ -58,6 +58,8 @@ RUN apt-get update && \ curl ca-certificates gnupg git runit libpq-dev \ postgresql-client build-essential libxmlsec1-dev \ pkg-config libmaxminddb0 && \ + pip install lxml==4.6.4 --no-cache-dir && \ + export C_INCLUDE_PATH=/usr/local/lib/python3.10/site-packages/lxml/includes && \ pip install -r /requirements.txt --no-cache-dir && \ apt-get remove --purge -y build-essential git && \ apt-get autoremove --purge -y && \