Skip to content

Commit 843bc57

Browse files
pavelmashpavel.mash
andauthored
[mormot] mimalloc is used instead of glibc MM (#9036)
* [mormot] mimalloc is used instead of glibc MM * fix mimalloc lib path --------- Co-authored-by: pavel.mash <[email protected]>
1 parent 912ab8b commit 843bc57

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

frameworks/Pascal/mormot/mormot.dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,15 @@ COPY setup_and_build.sh .
1010
RUN /bin/bash -c ./setup_and_build.sh
1111

1212
FROM ubuntu:22.04
13+
RUN apt-get update -yqq && apt-get install -yqq libmimalloc2.0
1314

1415
ARG TFB_TEST_NAME
1516

1617
COPY --from=builder /build/bin/fpc-x86_64-linux/raw /usr/local/bin/raw
1718
COPY --from=builder /build/libpq.so.5.16 /usr/lib/x86_64-linux-gnu/libpq.so.5
1819

1920
ENV TFB_TEST_NAME=$TFB_TEST_NAME
21+
ENV LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libmimalloc.so.2.0
2022

2123
EXPOSE 8080
2224
CMD ["raw"]

0 commit comments

Comments
 (0)