Merge "Stop using jemalloc in python base image"
This commit is contained in:
commit
b2df0af08c
@ -19,7 +19,7 @@ FROM docker.io/library/python:${PYTHON_VERSION}-slim
|
|||||||
RUN echo 'APT::Install-Recommends "0";' > /etc/apt/apt.conf.d/95disable-recommends
|
RUN echo 'APT::Install-Recommends "0";' > /etc/apt/apt.conf.d/95disable-recommends
|
||||||
|
|
||||||
RUN apt-get update \
|
RUN apt-get update \
|
||||||
&& apt-get install -y dumb-init libjemalloc2 \
|
&& apt-get install -y dumb-init \
|
||||||
&& apt-get clean \
|
&& apt-get clean \
|
||||||
&& rm -rf /var/lib/apt/lists/*
|
&& rm -rf /var/lib/apt/lists/*
|
||||||
|
|
||||||
@ -30,5 +30,4 @@ RUN pip install -U pip
|
|||||||
# Undo debian changes to openssl.cnf that are too aggressive
|
# Undo debian changes to openssl.cnf that are too aggressive
|
||||||
COPY openssl.cnf /etc/ssl/openssl.cnf
|
COPY openssl.cnf /etc/ssl/openssl.cnf
|
||||||
|
|
||||||
ENV LD_PRELOAD /usr/lib/x86_64-linux-gnu/libjemalloc.so.2
|
|
||||||
ENTRYPOINT ["/usr/bin/dumb-init", "--"]
|
ENTRYPOINT ["/usr/bin/dumb-init", "--"]
|
||||||
|
Loading…
Reference in New Issue
Block a user