Skip to content

Commit

Permalink
Update LMDB source link
Browse files Browse the repository at this point in the history
  • Loading branch information
lolepezy committed Oct 19, 2022
1 parent af289c2 commit 20302fd
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions Dockerfile.static-builder
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
FROM utdemir/ghc-musl:v20-ghc8104 as rpki-prover-builder
# FROM utdemir/ghc-musl:v20-ghc8104 as rpki-prover-builder
FROM utdemir/ghc-musl:v24-ghc8107 as rpki-prover-builder

RUN apk add --update --no-cache expat-dev lmdb-dev lmdb expat-static lmdb

# There's no statically linked version of LMDB, so we build it from the sources here
RUN wget https://git.openldap.org/openldap/openldap/-/archive/LMDB_0.9.29/openldap-LMDB_0.9.29.tar.gz && \
tar xzf openldap-LMDB_0.9.29.tar.gz && \
cd openldap-LMDB_0.9.29/libraries/liblmdb && \
RUN wget https://github.com/LMDB/lmdb/archive/refs/tags/LMDB_0.9.29.tar.gz && \
tar xzf LMDB_0.9.29.tar.gz && \
cd lmdb-LMDB_0.9.29/libraries/liblmdb && \
make && cp liblmdb.a /usr/lib

0 comments on commit 20302fd

Please sign in to comment.