root: install lxml before regular install to prevent xmlsec issues
Signed-off-by: Jens Langhammer <jens.langhammer@beryju.org>
This commit is contained in:
parent
5e9166f859
commit
709194330f
|
@ -58,6 +58,8 @@ RUN apt-get update && \
|
||||||
curl ca-certificates gnupg git runit libpq-dev \
|
curl ca-certificates gnupg git runit libpq-dev \
|
||||||
postgresql-client build-essential libxmlsec1-dev \
|
postgresql-client build-essential libxmlsec1-dev \
|
||||||
pkg-config libmaxminddb0 && \
|
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 && \
|
pip install -r /requirements.txt --no-cache-dir && \
|
||||||
apt-get remove --purge -y build-essential git && \
|
apt-get remove --purge -y build-essential git && \
|
||||||
apt-get autoremove --purge -y && \
|
apt-get autoremove --purge -y && \
|
||||||
|
|
Reference in a new issue