Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

noetic-devel Fix Dockerfile #721

Draft
wants to merge 1 commit into
base: noetic-devel
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 6 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ros:melodic-ros-base-bionic
FROM ros:noetic-ros-base-focal

# USE BASH
SHELL ["/bin/bash", "-c"]
Expand All @@ -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 .. \
Expand Down