Docker: added noetic image. Updated travis for focal.

This commit is contained in:
matlabbe
2020-06-09 21:16:46 -04:00
parent 438cb1c1f0
commit b6829f91d1
6 changed files with 75 additions and 29 deletions
+6
View File
@@ -0,0 +1,6 @@
FROM ros:noetic-perception
# install rtabmap packages
RUN apt-get update && apt-get install -y \
ros-noetic-rtabmap \
ros-noetic-rtabmap-ros \
&& rm -rf /var/lib/apt/lists/
+13
View File
@@ -0,0 +1,13 @@
FROM introlab3it/rtabmap:20.04
ARG CACHE_DATE=2016-01-01
RUN source /ros_entrypoint.sh && \
mkdir -p catkin_ws/src && \
cd catkin_ws/src && \
catkin_init_workspace && \
git clone https://github.com/introlab/rtabmap_ros.git && \
cd .. && \
catkin_make -j1 -DCMAKE_INSTALL_PREFIX=/opt/ros/noetic install && \
cd && \
rm -rf catkin_ws
+2
View File
@@ -0,0 +1,2 @@
#!/bin/bash
docker build --build-arg CACHE_DATE="$(date)" --cache-from $IMAGE_NAME -f $DOCKERFILE_PATH -t $IMAGE_NAME -t $DOCKER_REPO:noetic-latest .