Merge "Run python with jemalloc in containers"

This commit is contained in:
Zuul 2019-04-05 23:22:05 +00:00 committed by Gerrit Code Review
commit 4436901673

View File

@ -16,7 +16,8 @@
FROM python:slim
RUN apt-get update \
&& apt-get install -y dumb-init \
&& apt-get install -y dumb-init libjemalloc1 \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
ENV LD_PRELOAD /usr/lib/x86_64-linux-gnu/libjemalloc.so.1
ENTRYPOINT ["/usr/bin/dumb-init", "--"]