28 lines
857 B
Docker
28 lines
857 B
Docker
FROM osrf/ros:jazzy-desktop-full
|
|
|
|
RUN apt-get update
|
|
RUN apt-get -y install qterminal mesa-utils \
|
|
libgstreamer1.0-dev \
|
|
libgstreamer-plugins-base1.0-dev \
|
|
gstreamer1.0-libav \
|
|
gstreamer1.0-gl \
|
|
gstreamer1.0-plugins-good \
|
|
gstreamer1.0-plugins-bad \
|
|
gstreamer1.0-plugins-ugly
|
|
|
|
COPY --from=git.spirirobotics.com/spiri/gazebo-resources:main /plugins /ardupilot_gazebo/plugins
|
|
COPY --from=git.spirirobotics.com/spiri/gazebo-resources:main /models /ardupilot_gazebo/models
|
|
COPY --from=git.spirirobotics.com/spiri/gazebo-resources:main /worlds /ardupilot_gazebo/worlds
|
|
|
|
ENV GZ_SIM_SYSTEM_PLUGIN_PATH=/ardupilot_gazebo/plugins
|
|
ENV GZ_SIM_RESOURCE_PATH=/ardupilot_gazebo/models:/ardupilot_gazebo/worlds
|
|
|
|
COPY ./spawn_drones.sh /spawn_drones.sh
|
|
RUN chmod +x /spawn_drones.sh
|
|
|
|
COPY ./launcher.py /launcher.py
|
|
CMD python3 /launcher.py
|
|
|
|
|
|
|