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 e5b896d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion contrib/docker/Dockerfile.alpine
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ RUN apk update && \
libtool \
net-tools \
postgresql-dev \
py3-mako \
py3-pip \
python3 \
python3-dev \
sqlite-dev \
Expand All @@ -29,6 +29,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
Expand Down

0 comments on commit e5b896d

Please sign in to comment.