Skip to content

Commit

Permalink
Add static libgit2 for fedora (dynamic also builds, but is switched of)
Browse files Browse the repository at this point in the history
  • Loading branch information
KjellMorgenstern committed Oct 7, 2019
1 parent 1121e07 commit 61ad6a3
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions docker/Dockerfile.fedora
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,12 @@ USER conan
# No SHA verification for now. Will be automated by Conan in the future.
RUN set -xe \
&& wget -q -O - https://dl.bintray.com/boostorg/release/1.70.0/source/boost_1_70_0.tar.bz2 | tar xj

RUN set -xe \
&& wget -q -O - https://github.com/libgit2/libgit2/archive/v0.28.1.tar.gz | tar xz \
&& mv libgit2-0.28.1 libgit2 \
&& mkdir libgit2/build \
&& cd libgit2/build \
&& cmake -D BUILD_SHARED_LIBS=OFF .. \
&& cmake --build . -- -j4 \
&& cd ../../

0 comments on commit 61ad6a3

Please sign in to comment.