mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-01-30 08:04:04 +00:00
Setup docker container to use jemalloc
This commit is contained in:
parent
761cc5c923
commit
5a0adba798
@ -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 -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
|
||||
|
@ -41,7 +41,7 @@ echo "{
|
||||
}
|
||||
" > /var/lib/zerotier-one/local.conf
|
||||
|
||||
# export ASAN_OPTIONS=detect_leaks=1
|
||||
# export ASAN_SYMBOLIZER_PATH=/usr/bin/llvm-symbolizer
|
||||
# export MSAN_SYMBOLIZER_PATH=/usr/bin/llvm-symbolizer
|
||||
export GLIBCXX_FORCE_NEW=1
|
||||
export GLIBCPP_FORCE_NEW=1
|
||||
export LD_PRELOAD="/usr/lib64/libjemalloc.so"
|
||||
exec /usr/local/bin/zerotier-one /var/lib/zerotier-one
|
||||
|
Loading…
x
Reference in New Issue
Block a user