From: Sam Date: Tue, 31 Jul 2018 02:16:41 +0000 (+1000) Subject: Add tcmalloc as an optional allocator X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=d03235651f5c19fbfaca7d1c37469f10ad06c746;p=discourse_docker.git Add tcmalloc as an optional allocator --- diff --git a/image/base/Dockerfile b/image/base/Dockerfile index 67b369e..408b41d 100644 --- a/image/base/Dockerfile +++ b/image/base/Dockerfile @@ -32,7 +32,8 @@ RUN apt-get -y install build-essential git wget \ postgresql-${PG_MAJOR} postgresql-client-${PG_MAJOR} \ postgresql-contrib-${PG_MAJOR} libpq-dev libreadline-dev \ language-pack-en cron anacron \ - psmisc rsyslog vim whois brotli libunwind-dev libicu-dev + psmisc rsyslog vim whois brotli libunwind-dev libicu-dev \ + libtcmalloc-minimal4 RUN sed -i -e 's/start -q anacron/anacron -s/' /etc/cron.d/anacron RUN sed -i.bak 's/$ModLoad imklog/#$ModLoad imklog/' /etc/rsyslog.conf RUN dpkg-divert --local --rename --add /sbin/initctl