Docker: added hooks for main docker images

This commit is contained in:
matlabbe
2018-05-03 09:11:27 -04:00
parent 97b61f885d
commit ec50b0c366
8 changed files with 31 additions and 7 deletions

View File

@@ -42,9 +42,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 .. && \
@@ -53,7 +55,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 .. && \
@@ -62,7 +66,9 @@ RUN cd libpointmatcher && \
cd && \
rm -r libpointmatcher
# Clone source code
ARG CACHE_DATE=2016-01-01
RUN git clone https://github.com/introlab/rtabmap.git
# Build RTAB-Map project

View File

@@ -0,0 +1,2 @@
#!/bin/bash
docker build --build-arg CACHE_DATE=$(date) .