Docker: added hooks/build to xenial build with CACHE_DATE

This commit is contained in:
matlabbe
2018-05-03 08:56:47 -04:00
parent 0d7b8f13d8
commit 97b61f885d
2 changed files with 9 additions and 1 deletions

View File

@@ -39,9 +39,11 @@ RUN cd g2o && \
cd && \
rm -r g2o
# libpointmatcher
# libpointmatcher
RUN git clone https://github.com/ethz-asl/libnabo.git
#commit Apr 25 2018
RUN cd libnabo && \
git checkout 7e378f6765393462357b8b74d8dc8c5554542ae6 && \
mkdir build && \
cd build && \
cmake -DCMAKE_BUILD_TYPE=Release .. && \
@@ -50,7 +52,9 @@ RUN cd libnabo && \
cd && \
rm -r libnabo
RUN git clone https://github.com/ethz-asl/libpointmatcher.git
#commit Jan 19 2018
RUN cd libpointmatcher && \
git checkout 00004bd41e44a1cf8de24ad87e4914760717cbcc && \
mkdir build && \
cd build && \
cmake -DCMAKE_BUILD_TYPE=Release .. && \
@@ -61,6 +65,9 @@ RUN cd libpointmatcher && \
# Clone source code
WORKDIR /root/
ARG CACHE_DATE=2016-01-01
RUN git clone https://github.com/introlab/rtabmap.git
# Build RTAB-Map project