Skip to content

Commit

Permalink
build(docker): fix rocksdb build
Browse files Browse the repository at this point in the history
  • Loading branch information
lklimek committed Nov 6, 2024
1 parent e608408 commit eafa040
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -153,12 +153,13 @@ FROM deps-${RUSTC_WRAPPER:-base} AS rocksdb
RUN mkdir -p /tmp/rocksdb
WORKDIR /tmp/rocksdb
RUN git clone https://github.com/facebook/rocksdb.git -b v8.10.2 --depth 1 . && \
make static_lib && \
make DESTDIR=/opt/rocksdb install-static && \
make -j 4 static_lib && \
mkdir -p /opt/rocksdb/usr/local/lib && \
cp librocksdb.a /opt/rocksdb/usr/local/lib/ && \
cp -r include /opt/rocksdb/usr/local/lib/ && \
cd / && \
rm -rf /tmp/rocksdb
#
# DEPS: FULL DEPENDENCIES LIST
#
# This is separate from `deps` to use sccache for caching
Expand Down

0 comments on commit eafa040

Please sign in to comment.