Skip to content

Commit 1e152d9

Browse files
committed
Install ros_gz from package, not from source, remove sim.repos
1 parent 5f7f740 commit 1e152d9

File tree

2 files changed

+9
-12
lines changed

2 files changed

+9
-12
lines changed

.docker/Dockerfile

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,6 +130,15 @@ RUN wget https://packages.osrfoundation.org/gazebo.gpg -O /usr/share/keyrings/pk
130130
&& apt-get -q update \
131131
&& apt-get -y --quiet --no-install-recommends install \
132132
gz-${GZ_VERSION} \
133+
ros-${ROS_DISTRO}-ros-gz${GZ_VERSION} \
134+
&& apt-get autoremove -y \
135+
&& apt-get clean -y \
136+
&& rm -rf /var/lib/apt/lists/*
137+
138+
# Install ArduPilot and ardupilot_gazebo dependencies
139+
RUN apt-get -q update \
140+
&& apt-get -q -y upgrade \
141+
&& apt-get -q install --no-install-recommends -y \
133142
python3-pexpect \
134143
python3-wxgtk4.0 \
135144
python3-future \
@@ -178,7 +187,6 @@ RUN [ "/bin/bash" , "-c" , " \
178187
WORKDIR $USER_WORKSPACE
179188
RUN sudo apt-get -q update \
180189
&& sudo apt-get -q -y upgrade \
181-
&& vcs import src < src/blue/sim.repos \
182190
&& rosdep update \
183191
&& rosdep install -y --from-paths src --ignore-src --rosdistro ${ROS_DISTRO} --skip-keys="gz-transport12 gz-sim7 gz-math7 gz-msgs9 gz-plugin2" \
184192
&& sudo apt-get autoremove -y \

sim.repos

Lines changed: 0 additions & 11 deletions
This file was deleted.

0 commit comments

Comments
 (0)