We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 275ed66 commit 839061eCopy full SHA for 839061e
Dockerfile
@@ -87,6 +87,15 @@ RUN DEBIAN_FRONTEND=noninteractive \
87
apt-get clean && \
88
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
89
90
+ADD https://github.com/jemalloc/jemalloc/releases/download/5.2.1/jemalloc-5.2.1.tar.bz2 /tmp/jemalloc-5.2.1.tar.bz2
91
+RUN apt-get update && apt install -y bzip2 gcc make autoconf
92
+RUN cd /tmp \
93
+ && tar -jxvf jemalloc-5.2.1.tar.bz2 --no-same-owner \
94
+ && cd jemalloc-5.2.1 \
95
+ && ./configure --enable-prof && make && make install \
96
+ && rm -rf /tmp/*
97
+ENV LD_PRELOAD=/usr/local/lib/libjemalloc.so
98
+
99
# Server port to listen
100
ENV PORT 9000
101
0 commit comments