mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-10 05:20:19 +08:00
workflows docker: use current context instead of cloning the repo inside dockerfile
This commit is contained in:
@@ -104,12 +104,11 @@ RUN if [ "$TARGETPLATFORM" = "linux/amd64" ]; then git clone https://github.com/
|
||||
|
||||
RUN rm /bin/sh && ln -s /bin/bash /bin/sh
|
||||
|
||||
# Clone source code
|
||||
ARG CACHE_DATE=2016-01-01
|
||||
# Copy current source code
|
||||
COPY . /root/rtabmap
|
||||
|
||||
# Build RTAB-Map project
|
||||
RUN source /ros_entrypoint.sh && \
|
||||
git clone https://github.com/introlab/rtabmap.git && \
|
||||
cd rtabmap/build && \
|
||||
~/cmake -DWITH_ALICE_VISION=ON .. && \
|
||||
make -j$(nproc) && \
|
||||
|
||||
Reference in New Issue
Block a user