fix: lib secp256k fails building (#2572)

Co-authored-by: michael1011 <me@michael1011.at>
This commit is contained in:
dni ⚡ 2024-07-09 15:51:40 +02:00 committed by GitHub
parent fe14c2cd83
commit a00292544f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 5 additions and 1 deletions

View file

@ -43,6 +43,10 @@ jobs:
pypi:
runs-on: ubuntu-latest
steps:
- name: Install dependencies for building secp256k1
run: |
sudo apt-get update
sudo apt-get install -y build-essential automake libtool libffi-dev libgmp-dev
- uses: actions/checkout@v4
- name: Build and publish to pypi
uses: JRubics/poetry-publish@v1.15

View file

@ -2,7 +2,7 @@ FROM python:3.10-slim-bookworm
RUN apt-get clean
RUN apt-get update
RUN apt-get install -y curl pkg-config build-essential libnss-myhostname
RUN apt-get install -y curl pkg-config build-essential libnss-myhostname automake libtool libffi-dev libgmp-dev
RUN curl -sSL https://install.python-poetry.org | python3 -
ENV PATH="/root/.local/bin:$PATH"