diff --git a/Dockerfile b/Dockerfile index 92658d071..b1855d1b5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM ros:melodic-ros-base-bionic +FROM ros:noetic-ros-base-focal # USE BASH SHELL ["/bin/bash", "-c"] @@ -10,14 +10,15 @@ RUN apt-get update && apt-get upgrade -y && apt-get install -y --no-install-reco # slam_toolbox RUN mkdir -p catkin_ws/src +RUN apt-get install -y git RUN cd catkin_ws/src && git clone -b noetic-devel https://github.com/SteveMacenski/slam_toolbox.git -RUN source /opt/ros/melodic/setup.bash \ +RUN source /opt/ros/noetic/setup.bash \ && cd catkin_ws \ && rosdep update \ - && rosdep install -y -r --from-paths src --ignore-src --rosdistro=melodic -y + && rosdep install -y -r --from-paths src --ignore-src --rosdistro=noetic -y -RUN apt install python-catkin-tools -y -RUN source /opt/ros/melodic/setup.bash \ +RUN apt install python3-catkin-tools -y +RUN source /opt/ros/noetic/setup.bash \ && cd catkin_ws/src \ && catkin_init_workspace \ && cd .. \