Setup docker container to use jemalloc

This commit is contained in:
Grant Limberg 2018-10-24 13:36:21 -07:00
parent 761cc5c923
commit 5a0adba798
2 changed files with 4 additions and 4 deletions

View File

@ -7,7 +7,7 @@ RUN yum install -y https://download.postgresql.org/pub/repos/yum/10/redhat/rhel-
RUN yum install -y postgresql10 RUN yum install -y postgresql10
RUN yum -y install epel-release && yum -y update && yum clean all RUN yum -y install epel-release && yum -y update && yum clean all
RUN yum -y install clang RUN yum -y install clang jemalloc jemalloc-devel
ADD zerotier-one /usr/local/bin/zerotier-one ADD zerotier-one /usr/local/bin/zerotier-one

View File

@ -41,7 +41,7 @@ echo "{
} }
" > /var/lib/zerotier-one/local.conf " > /var/lib/zerotier-one/local.conf
# export ASAN_OPTIONS=detect_leaks=1 export GLIBCXX_FORCE_NEW=1
# export ASAN_SYMBOLIZER_PATH=/usr/bin/llvm-symbolizer export GLIBCPP_FORCE_NEW=1
# export MSAN_SYMBOLIZER_PATH=/usr/bin/llvm-symbolizer export LD_PRELOAD="/usr/lib64/libjemalloc.so"
exec /usr/local/bin/zerotier-one /var/lib/zerotier-one exec /usr/local/bin/zerotier-one /var/lib/zerotier-one