Skip to content

Commit

Permalink
fixup: packaging/Dockerfile.sitl
Browse files Browse the repository at this point in the history
  • Loading branch information
jnippula committed Aug 8, 2024
1 parent d74293f commit 43e33a6
Showing 1 changed file with 2 additions and 13 deletions.
15 changes: 2 additions & 13 deletions packaging/Dockerfile.sitl
Original file line number Diff line number Diff line change
@@ -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

Expand Down

0 comments on commit 43e33a6

Please sign in to comment.