Skip to content

Commit

Permalink
install ros-core instead of ros-environment
Browse files Browse the repository at this point in the history
  • Loading branch information
jpbusch committed Sep 14, 2023
1 parent 417e381 commit 3928367
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ RUN apt-get update && \
git \
python3-rosdep \
python3-vcstool \
ros-${ROS_DISTRO}-ros-environment \
ros-${ROS_DISTRO}-ros-core \
&& rm -rf /var/lib/apt/lists/*

# copy contents of repository
Expand Down Expand Up @@ -61,7 +61,7 @@ RUN /usr/local/bin/recursive_vcs_import.py src src/upstream

# create install script with list of rosdep dependencies
RUN echo "set -e" >> $WORKSPACE/.install-dependencies.sh && \
source $(find /opt/ros/$ROS_DISTRO/share/ros_environment -name "1.ros_version.sh") && \
source /opt/ros/$ROS_DISTRO/setup.bash && \
apt-get update && \
rosdep init || true && \
rosdep update --rosdistro ${ROS_DISTRO} && \
Expand Down Expand Up @@ -156,7 +156,7 @@ RUN apt-get update && \
gosu \
python-is-python3 \
python3-pip \
ros-${ROS_DISTRO}-ros-environment \
ros-${ROS_DISTRO}-ros-core \
&& rm -rf /var/lib/apt/lists/*
# copy install script from dependencies stage
Expand All @@ -168,7 +168,7 @@ RUN apt-get update && \
rm -rf /var/lib/apt/lists/*
# install ROS CLI tools
RUN source $(find /opt/ros/$ROS_DISTRO/share/ros_environment -name "1.ros_version.sh") && \
RUN source /opt/ros/$ROS_DISTRO/setup.bash && \
apt-get update && \
if [[ "$ROS_VERSION" == "1" ]]; then \
apt-get install -y \
Expand Down

0 comments on commit 3928367

Please sign in to comment.