2024-09-19 14:14:07 -03:00
|
|
|
FROM osrf/ros:jazzy-desktop-full
|
|
|
|
|
2024-10-29 17:00:57 -03:00
|
|
|
RUN apt-get update
|
2024-10-31 12:19:58 -03:00
|
|
|
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
|
2024-10-29 17:00:57 -03:00
|
|
|
|
2024-11-05 10:29:34 -04:00
|
|
|
#Install poetry
|
|
|
|
RUN curl -sSL https://install.python-poetry.org | python3 -
|
|
|
|
ENV PATH="/root/.local/bin:$PATH"
|
|
|
|
|
2024-10-29 17:00:57 -03:00
|
|
|
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
|
2024-10-25 14:49:07 -03:00
|
|
|
|
|
|
|
COPY ./spawn_drones.sh /spawn_drones.sh
|
|
|
|
RUN chmod +x /spawn_drones.sh
|
2024-10-29 17:00:57 -03:00
|
|
|
|
2024-11-05 10:29:34 -04:00
|
|
|
WORKDIR /app
|
|
|
|
|
|
|
|
COPY ./pyproject.toml /app/pyproject.toml
|
|
|
|
COPY ./poetry.lock /app/poetry.lock
|
|
|
|
|
|
|
|
RUN poetry install --no-root
|
|
|
|
|
|
|
|
COPY ./spiri_sdk_guitools /app/spiri_sdk_guitools
|
|
|
|
|
|
|
|
CMD poetry run python3 spiri_sdk_guitools/launcher.py
|
2024-09-19 14:14:07 -03:00
|
|
|
|
|
|
|
|
|
|
|
|