Skip to content

Commit 4a4debf

Browse files
committed
install boost 1.84
1 parent 4e97023 commit 4a4debf

File tree

1 file changed

+10
-5
lines changed

1 file changed

+10
-5
lines changed

Dockerfile

Lines changed: 10 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ FROM quay.io/pypa/manylinux2014_x86_64:latest
33
RUN yum -y update; yum clean all
44
RUN yum -y install epel-release.noarch; yum clean all
55
RUN yum -y update; yum -y install \
6-
boost169-devel.x86_64 \
76
curl \
87
eigen3-devel.noarch \
98
metis-devel \
@@ -14,13 +13,19 @@ RUN yum -y update; yum -y install \
1413
swig3.x86_64 \
1514
zlib-devel.x86_64; yum clean all
1615

17-
RUN curl -s -SL "https://github.com/oneapi-src/oneTBB/releases/download/2019_U9/tbb2019_20191006oss_lin.tgz" | tar xz &&\
18-
cd tbb2019_20191006oss && cp -r include/tbb /usr/include && cp lib/intel64/gcc4.8/* /usr/lib64
16+
RUN curl -s -SL "https://github.com/oneapi-src/oneTBB/releases/download/2019_U9/tbb2019_20191006oss_lin.tgz" | tar xz && \
17+
cd tbb2019_20191006oss && cp -r include/tbb /usr/include && cp lib/intel64/gcc4.8/* /usr/lib64 && \
18+
rm -rf tbb2019_20191006oss
1919

20-
RUN cd tmp && curl -s -SL "https://github.com/CGAL/LAStools/archive/master.zip" -o laslib.zip && unzip laslib.zip && \
20+
RUN cd /tmp && curl -s -SL "https://github.com/CGAL/LAStools/archive/master.zip" -o laslib.zip && unzip laslib.zip && \
2121
cd LAStools-master && \
2222
mkdir build && cd build && \
23-
cmake .. && make -j 6 && make install
23+
cmake .. && make -j 6 && make install && cd / && rm -rf /tmp/LAStools-master
24+
25+
RUN curl -s -SL "https://boostorg.jfrog.io/artifactory/main/release/1.84.0/source/boost_1_84_0.tar.gz" | tar xz -C /tmp && \
26+
cd /tmp/boost_1_84_0 && \
27+
./bootstrap.sh --prefix=/usr/local --with-libraries=system,filesystem,program_options,iostreams,serialization && \
28+
./b2 -j 6 install && cd / && rm -rf /tmp/boost_1_84_0
2429

2530
RUN pip3 install wheel auditwheel
2631

0 commit comments

Comments
 (0)