File tree Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Expand file tree Collapse file tree 1 file changed +7
-4
lines changed Original file line number Diff line number Diff line change @@ -4,10 +4,7 @@ ARG BRANCH="ros2"
4
4
5
5
# Install Utilities
6
6
# hadolint ignore=DL3008
7
- ADD --chown=root:root --chmod=0644 https://raw.githubusercontent.com/osrf/osrf-rosdep/master/gz/00-gazebo.list /etc/ros/rosdep/sources.list.d/00-gazebo.list
8
- RUN wget https://packages.osrfoundation.org/gazebo.gpg -O /usr/share/keyrings/pkgs-osrf-archive-keyring.gpg \
9
- && echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/pkgs-osrf-archive-keyring.gpg] http://packages.osrfoundation.org/gazebo/ubuntu-stable $(lsb_release -cs) main" | tee /etc/apt/sources.list.d/gazebo-stable.list > /dev/null \
10
- && apt-get update && \
7
+ RUN apt-get update && \
11
8
apt-get install -y --no-install-recommends \
12
9
sudo xterm init systemd snapd vim net-tools \
13
10
curl wget git build-essential cmake cppcheck \
@@ -18,6 +15,12 @@ RUN wget https://packages.osrfoundation.org/gazebo.gpg -O /usr/share/keyrings/pk
18
15
qtbase5-dev ruby dirmngr gnupg2 nano xauth \
19
16
software-properties-common htop libtool \
20
17
x11-apps mesa-utils bison flex automake \
18
+ && rm -rf /var/lib/apt/lists/
19
+
20
+ RUN ADD --chown=root:root --chmod=0644 https://raw.githubusercontent.com/osrf/osrf-rosdep/master/gz/00-gazebo.list /etc/ros/rosdep/sources.list.d/00-gazebo.list
21
+ RUN wget https://packages.osrfoundation.org/gazebo.gpg -O /usr/share/keyrings/pkgs-osrf-archive-keyring.gpg \
22
+ && echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/pkgs-osrf-archive-keyring.gpg] http://packages.osrfoundation.org/gazebo/ubuntu-stable $(lsb_release -cs) main" | tee /etc/apt/sources.list.d/gazebo-stable.list > /dev/null \
23
+ && apt-get update && apt-get install -y --no-install-recommends \
21
24
libgz-sim8-dev rapidjson-dev libopencv-dev \
22
25
libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev \
23
26
gstreamer1.0-plugins-bad gstreamer1.0-libav gstreamer1.0-gl \
You can’t perform that action at this time.
0 commit comments