Skip to content

Commit

Permalink
chore: self-review
Browse files Browse the repository at this point in the history
  • Loading branch information
lklimek committed Jan 30, 2025
1 parent de8af22 commit a10fff7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -288,8 +288,9 @@ RUN --mount=type=secret,id=AWS <<EOS
set -ex -o pipefail
git clone https://github.com/facebook/rocksdb.git -b v9.9.3 --depth 1 .
source /root/env
# Only use 1 thread to avoid OOM
make -j1 static_lib

make -j$(nproc) static_lib

mkdir -p /opt/rocksdb/usr/local/lib
cp librocksdb.a /opt/rocksdb/usr/local/lib/
cp -r include /opt/rocksdb/usr/local/
Expand Down Expand Up @@ -484,7 +485,6 @@ RUN --mount=type=cache,sharing=shared,id=cargo_registry_index,target=${CARGO_HOM
# Remove /platform to reduce layer size
rm -rf /platform


#
# STAGE: BUILD JAVASCRIPT INTERMEDIATE IMAGE
#
Expand Down

0 comments on commit a10fff7

Please sign in to comment.