mirror of
https://github.com/ElementsProject/lightning.git
synced 2024-11-19 01:43:36 +01:00
ci: Install python build dependencies in alpine image
This commit is contained in:
parent
2cbf426296
commit
a87643f3bf
@ -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 --ignore-installed --force && \
|
||||
./configure --enable-static --prefix=/usr && \
|
||||
make -j $(nproc) && \
|
||||
make install
|
||||
|
Loading…
Reference in New Issue
Block a user