From 2f424d4e883766727468ffca96b74d1cc7244890 Mon Sep 17 00:00:00 2001 From: Christian Decker Date: Mon, 5 Feb 2024 11:13:33 +0100 Subject: [PATCH] ci: Install python build dependencies in alpine image --- contrib/docker/Dockerfile.alpine | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/contrib/docker/Dockerfile.alpine b/contrib/docker/Dockerfile.alpine index ddae6b2a1c37..3a434c67db96 100644 --- a/contrib/docker/Dockerfile.alpine +++ b/contrib/docker/Dockerfile.alpine @@ -16,7 +16,8 @@ RUN apk update && \ libtool \ net-tools \ postgresql-dev \ - py3-mako \ + linux-headers \ + py3-pip \ python3 \ python3-dev \ sqlite-dev \ @@ -29,6 +30,9 @@ COPY . /source RUN git clone /source /repo --recursive && \ cd /repo && \ + python3 -m pip install poetry && \ + poetry export --without-hashes --with=dev > requirements.txt && \ + python3 -m pip install -r requirements.txt && \ ./configure --enable-static --prefix=/usr && \ make -j $(nproc) && \ make install