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