2024-09-19 14:14:07 -03:00
|
|
|
FROM osrf/ros:jazzy-desktop-full
|
2024-12-04 10:22:29 -04:00
|
|
|
|
|
|
|
RUN apt-get update && apt-get -y install qterminal mesa-utils \
|
2024-10-31 12:19:58 -03:00
|
|
|
libgstreamer1.0-dev \
|
|
|
|
libgstreamer-plugins-base1.0-dev \
|
2024-11-06 12:58:14 -04:00
|
|
|
docker-compose \
|
2024-11-05 14:49:32 -04:00
|
|
|
python3.12-venv \
|
|
|
|
python3-pip \
|
2024-10-31 12:19:58 -03:00
|
|
|
gstreamer1.0-libav \
|
|
|
|
gstreamer1.0-gl \
|
|
|
|
gstreamer1.0-plugins-good \
|
|
|
|
gstreamer1.0-plugins-bad \
|
2024-11-24 15:03:59 -04:00
|
|
|
gstreamer1.0-plugins-ugly \
|
|
|
|
ros-${ROS_DISTRO}-rmw-cyclonedds-cpp
|
2024-10-29 17:00:57 -03:00
|
|
|
|
2024-11-05 10:29:34 -04:00
|
|
|
|
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
|
|
|
|
2024-11-07 13:09:37 -04:00
|
|
|
COPY ./gz_entrypoint.sh /gz_entrypoint.sh
|
|
|
|
RUN chmod +x /gz_entrypoint.sh
|
2024-10-29 17:00:57 -03:00
|
|
|
|
2024-11-05 10:29:34 -04:00
|
|
|
WORKDIR /app
|
|
|
|
|
2024-11-05 14:49:32 -04:00
|
|
|
RUN python3 -m venv /opt/venv
|
|
|
|
ENV PATH="/opt/venv/bin:$PATH"
|
|
|
|
|
|
|
|
RUN pip3 install poetry
|
|
|
|
|
|
|
|
COPY ./pyproject.toml ./poetry.lock ./README.md ./
|
|
|
|
COPY ./spiri_sdk_guitools ./spiri_sdk_guitools
|
|
|
|
|
|
|
|
RUN poetry env use python3
|
|
|
|
RUN poetry config virtualenvs.create false && poetry install --no-dev --no-interaction --no-ansi
|
2024-11-05 10:29:34 -04:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
CMD poetry run python3 spiri_sdk_guitools/launcher.py
|
2024-09-19 14:14:07 -03:00
|
|
|
|
|
|
|
|
|
|
|
|
2024-11-05 14:49:32 -04:00
|
|
|
|