Skip to content

Commit

Permalink
ci: Install python build dependencies in alpine image
Browse files Browse the repository at this point in the history
  • Loading branch information
cdecker committed Feb 5, 2024
1 parent cf13d8c commit 43937aa
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion contrib/docker/Dockerfile.alpine
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ RUN apk update && \
libtool \
net-tools \
postgresql-dev \
py3-mako \
linux-headers \
py3-pip \
python3 \
python3-dev \
sqlite-dev \
Expand All @@ -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 --ignore-installed --force && \
./configure --enable-static --prefix=/usr && \
make -j $(nproc) && \
make install
Expand Down

0 comments on commit 43937aa

Please sign in to comment.