Commit d99a73c5 by 折木

添加模块镜像编译文件

parent 2d79e26e
...@@ -8,6 +8,8 @@ COPY jemalloc-5.3.0 /usr/local/jemalloc-5.3.0 ...@@ -8,6 +8,8 @@ COPY jemalloc-5.3.0 /usr/local/jemalloc-5.3.0
RUN cd /usr/local/jemalloc-5.3.0/ &&./configure --prefix=/usr/local &&make &&make install RUN cd /usr/local/jemalloc-5.3.0/ &&./configure --prefix=/usr/local &&make &&make install
RUN cat /etc/ld.so.conf RUN cat /etc/ld.so.conf
RUN sed -i '/^include \/etc\/ld.so.conf.d\/.*\.conf$/a /usr/local/lib' /etc/ld.so.conf RUN sed -i '/^include \/etc\/ld.so.conf.d\/.*\.conf$/a /usr/local/lib' /etc/ld.so.conf
ENV export LD_PRELOAD=/usr/local/lib/libjemalloc.so
ENV export MALLOC_CONF=narenas:1,lg_tcache_max:13,dirty_decay_ms:1000,muzzy_decay_ms:0
RUN ldconfig RUN ldconfig
ADD java.tar.gz /usr/local ADD java.tar.gz /usr/local
RUN echo $PATH RUN echo $PATH
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment