[PATCH] docker: add libffi-devel for rhel7 build

7 views
Skip to first unread message

Mathias De Mare

unread,
Nov 9, 2023, 4:05:51 AM11/9/23
to thg...@googlegroups.com
# HG changeset patch
# User Mathias De Mare <mathias...@nokia.com>
# Date 1699517835 -3600
# Thu Nov 09 09:17:15 2023 +0100
# Branch stable
# Node ID fb592431a97213cba75c51e262f24b9f0d9d3363
# Parent fdc6e290f4cd3121cdc9bdfe15fb870062925404
docker: add libffi-devel for rhel7 build

diff --git a/contrib/docker/rhel7 b/contrib/docker/rhel7
--- a/contrib/docker/rhel7
+++ b/contrib/docker/rhel7
@@ -33,6 +33,9 @@ RUN yum install -y cargo
# Install Mercurial (so it can be called in our scripts)
RUN pip3 install mercurial --global-option="--rust"

+# Install libffi-devel for pygit2
+RUN yum install -y libffi-devel
+
# Install recent cmake to allow libgit2 installation
RUN yum install -y wget && wget https://github.com/Kitware/CMake/releases/download/v3.20.5/cmake-3.20.5-linux-x86_64.sh && \
echo "f582e02696ceee81818dc3378531804b2213ed41c2a8bc566253d16d894cefab cmake-3.20.5-linux-x86_64.sh" | sha256sum --check && \
diff --git a/contrib/docker/rhel8 b/contrib/docker/rhel8
--- a/contrib/docker/rhel8
+++ b/contrib/docker/rhel8
@@ -41,6 +41,9 @@ RUN yum install -y cargo
# Install Mercurial (so it can be called in our scripts)
RUN pip3 install mercurial --global-option="--rust"

+# Install libffi-devel for pygit2
+RUN yum install -y libffi-devel
+
# Install libgit2 to allow usage of pygit2
RUN yum install -y git openssl-devel && \
mkdir /libgit2 && \

Yuya Nishihara

unread,
Nov 9, 2023, 5:11:16 AM11/9/23
to Mathias De Mare, thg...@googlegroups.com
On Thu, 09 Nov 2023 09:58:20 +0100, Mathias De Mare wrote:
> # HG changeset patch
> # User Mathias De Mare <mathias...@nokia.com>
> # Date 1699517835 -3600
> # Thu Nov 09 09:17:15 2023 +0100
> # Branch stable
> # Node ID fb592431a97213cba75c51e262f24b9f0d9d3363
> # Parent fdc6e290f4cd3121cdc9bdfe15fb870062925404
> docker: add libffi-devel for rhel7 build

Queued for stable, thanks.
Reply all
Reply to author
Forward
0 new messages