mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-01-30 16:13:55 +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 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
|
||||||
|
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user