Add tcmalloc as an optional allocator
authorSam <sam.saffron@gmail.com>
Tue, 31 Jul 2018 02:16:41 +0000 (12:16 +1000)
committerSam <sam.saffron@gmail.com>
Tue, 31 Jul 2018 02:16:41 +0000 (12:16 +1000)
image/base/Dockerfile

index 67b369e4477e0f6c1392dc744d2f27739b43e951..408b41d2b0bf0bde877fa5e95d9fb7d27164d13c 100644 (file)
@@ -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