%YAML 1.1
# ROS2 Dockerfile database
---
images:
    ros-core:
        base_image: @(os_name):@(os_code_name)
        maintainer_name: @(maintainer_name)
        template_name: docker_images_ros2/create_ros_core_image.Dockerfile.em
        entrypoint_name: docker_images_ros2/ros_entrypoint.sh
        template_packages:
            - docker_templates
        ros2_packages:
            - ros-core
    ros-base:
        base_image: @(user_name):@(ros2distro_name)-ros-core-@(os_code_name)
        maintainer_name: @(maintainer_name)
        template_name: docker_images_ros2/create_ros_image.Dockerfile.em
        template_packages:
            - docker_templates
        ros2_packages:
            - ros-base
        bootstrap_ros_tools:
    desktop:
        base_image: @(user_name):@(ros2distro_name)-ros-base-@(os_code_name)
        maintainer_name: @(maintainer_name)
        template_name: docker_images_ros2/create_ros_image.Dockerfile.em
        template_packages:
            - docker_templates
        ros2_packages:
            - desktop
    ros1-bridge:
        base_image: @(user_name):@(ros2distro_name)-ros-base-@(os_code_name)
        maintainer_name: @(maintainer_name)
        template_name: docker_images_ros2/ros1_bridge/create_ros_ros1_bridge_image.Dockerfile.em
        entrypoint_name: docker_images_ros2/ros1_bridge/ros_entrypoint.sh
        template_packages:
            - docker_templates
        ros2_packages:
            - ros1-bridge
            - demo-nodes-cpp
            - demo-nodes-py
        ros_packages:
            - ros-comm
            - roscpp-tutorials
            - rospy-tutorials
        downstream_packages:
            # The Python 3 version of rosdep get uninstalled when installign ROS 1
            # We install the Python 2 version manually to not conflict and allow consumers to use the CLI tool
            - python-rosdep
            # Currently not side-by-side installable with python2 version
            # https://github.com/ros-infrastructure/rosdep/issues/759
            # - python3-rosdep-modules
