diff --git a/packaging/Dockerfile.sitl b/packaging/Dockerfile.sitl index 3969b137ce1b..2f2fa380b225 100644 --- a/packaging/Dockerfile.sitl +++ b/packaging/Dockerfile.sitl @@ -1,23 +1,12 @@ FROM ghcr.io/tiiuae/fog-ros-baseimage-builder:v3.3.0 -RUN apt-get update && apt-get install -y --no-install-recommends \ - wget +RUN curl http://packages.osrfoundation.org/gazebo.key | apt-key add - +RUN sh -c 'echo "deb http://packages.osrfoundation.org/gazebo/ubuntu-stable `lsb_release -cs` main" > /etc/apt/sources.list.d/gazebo-stable.list' -RUN echo "deb http://packages.osrfoundation.org/gazebo/ubuntu-stable `lsb_release -cs` main" > /etc/apt/sources.list.d/gazebo-stable.list -RUN wget http://packages.osrfoundation.org/gazebo.key -O - | apt-key add - RUN apt-get update && apt-get install -y --no-install-recommends \ libignition-transport8-dev \ && rm -rf /var/lib/apt/lists/* -RUN apt-get update && apt-get install -y --no-install-recommends \ - wget - -RUN echo "deb http://packages.osrfoundation.org/gazebo/ubuntu-stable `lsb_release -cs` main" > /etc/apt/sources.list.d/gazebo-stable.list -RUN wget http://packages.osrfoundation.org/gazebo.key -O - | apt-key add - -RUN apt-get update && apt-get install -y --no-install-recommends \ - libignition-transport8-dev \ - && rm -rf /var/lib/apt/lists/* - # Install PX4 SITL WORKDIR /packages