Skip to content

Commit

Permalink
删除多线程编译
Browse files Browse the repository at this point in the history
  • Loading branch information
ryjer committed Sep 14, 2023
1 parent 82006cc commit a3dc3ba
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions Dockerfile.ipv6
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,16 @@ RUN apk add gcc \
cvs \
zlib-dev

# 下载并编译 libowfat 库,开启ipv6、开启客户端ip通告、关闭full scrape 特性
# 使用2个RUN,优化缓存(只缓存第一个层)
# 下载并编译 libowfat 库
RUN cvs -d :pserver:[email protected]:/cvs -z9 co libowfat \
&& cd libowfat \
&& make -j4

&& make
# 开启ipv6支持
RUN git clone git://erdgeist.org/opentracker \
&& cd opentracker \
&& sed -i '/FEATURES+=-DWANT_V6$/s/^#//' Makefile \
&& make clean && make -j4
&& make clean && make


FROM alpine
Expand Down

0 comments on commit a3dc3ba

Please sign in to comment.