Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
rubo committed Jan 23, 2025
1 parent b7e53c1 commit e10d4d1
Show file tree
Hide file tree
Showing 2 changed files 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 @@ -29,11 +29,12 @@ VOLUME /nethermind/nethermind_db
EXPOSE 8545 8551 30303

COPY --from=build /publish .
COPY libsnmallocshim.so .

RUN apt-get update && apt-get install -y libjemalloc-dev && rm -rf /var/lib/apt/lists/*
RUN ln -sr /lib/x86_64-linux-gnu/libjemalloc.so.2 /lib/x86_64-linux-gnu/libjemalloc.so.1
#RUN apt-get update && apt-get install -y libjemalloc-dev && rm -rf /var/lib/apt/lists/*
#RUN ln -sr /lib/x86_64-linux-gnu/libjemalloc.so.2 /lib/x86_64-linux-gnu/libjemalloc.so.1

ENV LD_PRELOAD=/lib/x86_64-linux-gnu/libjemalloc.so
ENV LD_PRELOAD=/nethermind/libsnmallocshim.so
#ENV MALLOC_CONF=stats_print:true

ENTRYPOINT ["./nethermind"]
Binary file added libsnmallocshim.so
Binary file not shown.

0 comments on commit e10d4d1

Please sign in to comment.