workflows docker: use current context instead of cloning the repo inside dockerfile

This commit is contained in:
matlabbe
2022-05-28 16:11:52 -04:00
parent cf64b20e1f
commit 47c94a4474
14 changed files with 36 additions and 261 deletions

View File

@@ -10,9 +10,8 @@ RUN apt-get update && \
WORKDIR /root/
# Clone source code
ARG CACHE_DATE=2016-01-01
RUN git clone https://github.com/introlab/rtabmap.git
# Copy current source code
COPY . /root/rtabmap
RUN rm /bin/sh && ln -s /bin/bash /bin/sh