mirror of
https://github.com/overleaf/overleaf.git
synced 2025-02-16 20:52:21 +00:00
Load Debian's version of jemalloc
This commit is contained in:
parent
4318dea5a0
commit
545de52a12
1 changed files with 3 additions and 1 deletions
|
@ -25,9 +25,11 @@ RUN make package \
|
||||||
|
|
||||||
FROM openjdk:11-jre
|
FROM openjdk:11-jre
|
||||||
|
|
||||||
RUN apt-get update && apt-get install -y git sqlite3 procps htop net-tools sockstat \
|
RUN apt-get update && apt-get install -y git sqlite3 procps htop net-tools sockstat libjemalloc2 \
|
||||||
&& rm -rf /var/lib/apt/lists
|
&& rm -rf /var/lib/apt/lists
|
||||||
|
|
||||||
|
ENV LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libjemalloc.so.2
|
||||||
|
|
||||||
# Install Google Cloud Profiler agent
|
# Install Google Cloud Profiler agent
|
||||||
RUN mkdir -p /opt/cprof && \
|
RUN mkdir -p /opt/cprof && \
|
||||||
wget -q -O- https://storage.googleapis.com/cloud-profiler/java/latest/profiler_java_agent.tar.gz \
|
wget -q -O- https://storage.googleapis.com/cloud-profiler/java/latest/profiler_java_agent.tar.gz \
|
||||||
|
|
Loading…
Reference in a new issue