-
Notifications
You must be signed in to change notification settings - Fork 467
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix Dockerfile after bringing Math submodule (#4708)
- Loading branch information
1 parent
3f42850
commit 2c31eb6
Showing
4 changed files
with
27 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
FROM debian@sha256:acf7795dc91df17e10effee064bd229580a9c34213b4dba578d64768af5d8c51 AS gmp | ||
WORKDIR /source | ||
|
||
RUN apt-get update && apt-get install -y mercurial autoconf automake libtool texinfo build-essential bison | ||
|
||
RUN hg clone https://gmplib.org/repo/gmp-6.2/ gmp && \ | ||
cd gmp && \ | ||
./.bootstrap && \ | ||
./configure --disable-static --enable-shared && \ | ||
make -j16 | ||
|
||
RUN strip gmp/.libs/libgmp.so | ||
|
||
|
||
FROM debian@sha256:acf7795dc91df17e10effee064bd229580a9c34213b4dba578d64768af5d8c51 AS libgmp | ||
WORKDIR /nethermind | ||
COPY --from=gmp /source/gmp/.libs/libgmp.so . |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters