mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-02 01:20:25 +08:00
Docker: added hooks for main docker images
This commit is contained in:
@@ -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
|
||||
|
||||
2
docker/zesty/hooks/build
Normal file
2
docker/zesty/hooks/build
Normal file
@@ -0,0 +1,2 @@
|
||||
#!/bin/bash
|
||||
docker build --build-arg CACHE_DATE=$(date) .
|
||||
Reference in New Issue
Block a user