-
Notifications
You must be signed in to change notification settings - Fork 170
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #170 from osrf/bouncy_update
[ros2] Bouncy docker images
- Loading branch information
Showing
15 changed files
with
337 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
all: help | ||
|
||
help: | ||
@echo "" | ||
@echo "-- Help Menu" | ||
@echo "" | ||
@echo " 1. make build - build all images" | ||
@echo " 2. make pull - pull all images" | ||
@echo " 3. make clean - remove all images" | ||
@echo "" | ||
|
||
build: | ||
@docker build --tag=osrf/ros2:bouncy-core bouncy-core/. | ||
@docker build --tag=osrf/ros2:bouncy-basic bouncy-basic/. | ||
@docker build --tag=osrf/ros2:bouncy-full bouncy-full/. | ||
@docker build --tag=osrf/ros2:bouncy-ros1-bridge bouncy-ros1-bridge/. | ||
|
||
pull: | ||
@docker pull osrf/ros2:bouncy-core | ||
@docker pull osrf/ros2:bouncy-basic | ||
@docker pull osrf/ros2:bouncy-full | ||
@docker pull osrf/ros2:bouncy-ros1-bridge | ||
|
||
clean: | ||
@docker rmi -f osrf/ros2:bouncy-core | ||
@docker rmi -f osrf/ros2:bouncy-basic | ||
@docker rmi -f osrf/ros2:bouncy-full | ||
@docker rmi -f osrf/ros2:bouncy-ros1-bridge |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
# This is an auto generated Dockerfile for ros2:bouncy-basic | ||
# generated from docker_images/create_ros2_image.Dockerfile.em | ||
FROM osrf/ros2:bouncy-core | ||
|
||
# install packages | ||
RUN apt-get update && apt-get install -q -y \ | ||
python3-pip \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
|
||
# install python packages | ||
RUN pip3 install -U \ | ||
argcomplete | ||
# install ros2 packages | ||
RUN apt-get update && apt-get install -y \ | ||
ros-bouncy-common-interfaces \ | ||
ros-bouncy-composition \ | ||
ros-bouncy-demo-nodes-cpp \ | ||
ros-bouncy-demo-nodes-cpp-native \ | ||
ros-bouncy-demo-nodes-py \ | ||
ros-bouncy-examples* \ | ||
ros-bouncy-launch \ | ||
ros-bouncy-lifecycle \ | ||
ros-bouncy-logging-demo \ | ||
ros-bouncy-ros2launch \ | ||
ros-bouncy-ros2lifecycle \ | ||
ros-bouncy-ros2msg \ | ||
ros-bouncy-ros2node \ | ||
ros-bouncy-ros2param \ | ||
ros-bouncy-ros2pkg \ | ||
ros-bouncy-ros2run \ | ||
ros-bouncy-ros2service \ | ||
ros-bouncy-ros2srv \ | ||
ros-bouncy-ros2topic \ | ||
ros-bouncy-sros2 \ | ||
ros-bouncy-tf2* \ | ||
ros-bouncy-tlsf* \ | ||
ros-bouncy-topic-monitor \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
# This is an auto generated Dockerfile for ros2:bouncy-core | ||
# generated from docker_images/create_ros2_core_image.Dockerfile.em | ||
FROM ubuntu:bionic | ||
|
||
RUN echo 'Etc/UTC' > /etc/timezone && \ | ||
ln -s /usr/share/zoneinfo/Etc/UTC /etc/localtime && \ | ||
apt-get update && apt-get install -q -y tzdata && rm -rf /var/lib/apt/lists/* | ||
|
||
|
||
# install packages | ||
RUN apt-get update && apt-get install -q -y \ | ||
dirmngr \ | ||
gnupg2 \ | ||
lsb-release \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
|
||
# setup ros1 keys | ||
RUN apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 421C365BD9FF1F717815A3895523BAEEB01FA116 | ||
|
||
# setup sources.list | ||
RUN echo "deb http://packages.ros.org/ros/ubuntu `lsb_release -sc` main" > /etc/apt/sources.list.d/ros-latest.list | ||
|
||
# setup ros2 keys | ||
RUN apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys 421C365BD9FF1F717815A3895523BAEEB01FA116 | ||
|
||
# setup sources.list | ||
RUN . /etc/os-release \ | ||
&& echo "deb http://repo.ros2.org/$ID/main `lsb_release -sc` main" > /etc/apt/sources.list.d/ros2-latest.list | ||
|
||
# setup environment | ||
ENV LANG C.UTF-8 | ||
ENV LC_ALL C.UTF-8 | ||
ENV ROS_DISTRO melodic | ||
ENV ROS2_DISTRO bouncy | ||
|
||
|
||
# install ros2 packages | ||
RUN apt-get update && apt-get install -y \ | ||
ros-bouncy-rclcpp \ | ||
ros-bouncy-rclpy \ | ||
ros-bouncy-ros-environment \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
|
||
# setup entrypoint | ||
COPY ./ros2_entrypoint.sh / | ||
|
||
ENTRYPOINT ["/ros2_entrypoint.sh"] | ||
CMD ["bash"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#!/bin/bash | ||
set -e | ||
|
||
# setup ros2 environment | ||
source "/opt/ros/$ROS2_DISTRO/setup.bash" | ||
exec "$@" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# This is an auto generated Dockerfile for ros2:bouncy-full | ||
# generated from docker_images/create_ros2_image.Dockerfile.em | ||
FROM osrf/ros2:bouncy-basic | ||
# install ros2 packages | ||
RUN apt-get update && apt-get install -y \ | ||
ros-bouncy-angles \ | ||
ros-bouncy-astra-camera \ | ||
ros-bouncy-cartographer-ros \ | ||
ros-bouncy-depthimage-to-laserscan \ | ||
ros-bouncy-depthimage-to-pointcloud2 \ | ||
ros-bouncy-dummy-map-server \ | ||
ros-bouncy-dummy-robot-bringup \ | ||
ros-bouncy-dummy-sensors \ | ||
ros-bouncy-image-tools \ | ||
ros-bouncy-intra-process-demo \ | ||
ros-bouncy-joy \ | ||
ros-bouncy-launch-testing \ | ||
ros-bouncy-map-server \ | ||
ros-bouncy-pcl-conversions \ | ||
ros-bouncy-pendulum-control \ | ||
ros-bouncy-robot-state-publisher \ | ||
ros-bouncy-rosidl-default-generators \ | ||
ros-bouncy-rviz2 \ | ||
ros-bouncy-rviz-default-plugins \ | ||
ros-bouncy-teleop-twist-joy \ | ||
ros-bouncy-teleop-twist-keyboard \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# This is an auto generated Dockerfile for ros2:bouncy-ros1-bridge | ||
# generated from docker_images/create_ros2_image.Dockerfile.em | ||
FROM osrf/ros2:bouncy-full | ||
# install ros2 packages | ||
RUN apt-get update && apt-get install -y \ | ||
ros-bouncy-ros1-bridge \ | ||
ros-bouncy-turtlebot2* \ | ||
&& rm -rf /var/lib/apt/lists/* | ||
|
||
# setup entrypoint | ||
COPY ./ros1_bridge_entrypoint.sh / | ||
|
||
ENTRYPOINT ["/ros1_bridge_entrypoint.sh"] | ||
CMD ["bash"] |
9 changes: 9 additions & 0 deletions
9
ros2/bouncy/ubuntu/bionic/bouncy-ros1-bridge/ros1_bridge_entrypoint.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
#!/bin/bash | ||
set -e | ||
|
||
# setup ros1 environment | ||
source "/opt/ros/$ROS_DISTRO/setup.bash" | ||
|
||
# setup ros2 environment | ||
source "/opt/ros/$ROS2_DISTRO/setup.bash" | ||
exec "$@" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,85 @@ | ||
%YAML 1.1 | ||
# ROS2 Dockerfile database | ||
--- | ||
images: | ||
@(ros2distro_name)-core: | ||
base_image: @(os_name):@(os_code_name) | ||
maintainer_name: @(maintainer_name) | ||
template_name: docker_images/create_ros2_core_image.Dockerfile.em | ||
entrypoint_name: docker_images/ros2_entrypoint.sh | ||
template_packages: | ||
- docker_templates | ||
ros2_packages: | ||
- rclcpp | ||
- rclpy | ||
- ros-environment | ||
@(ros2distro_name)-basic: | ||
base_image: osrf/@(user_name):@(ros2distro_name)-core | ||
maintainer_name: @(maintainer_name) | ||
template_name: docker_images/create_ros2_image.Dockerfile.em | ||
template_packages: | ||
- docker_templates | ||
pip3_install: | ||
- argcomplete | ||
ros2_packages: | ||
- common-interfaces | ||
- composition | ||
- demo-nodes-cpp | ||
- demo-nodes-cpp-native | ||
- demo-nodes-py | ||
- examples* | ||
- launch | ||
- lifecycle | ||
- logging-demo | ||
- ros2launch | ||
- ros2lifecycle | ||
- ros2msg | ||
- ros2node | ||
- ros2param | ||
- ros2pkg | ||
- ros2run | ||
- ros2service | ||
- ros2srv | ||
- ros2topic | ||
- sros2 | ||
- tf2* | ||
- tlsf* | ||
- topic-monitor | ||
@(ros2distro_name)-full: | ||
base_image: osrf/@(user_name):@(ros2distro_name)-basic | ||
maintainer_name: @(maintainer_name) | ||
template_name: docker_images/create_ros2_image.Dockerfile.em | ||
template_packages: | ||
- docker_templates | ||
ros2_packages: | ||
- angles | ||
- astra-camera | ||
- cartographer-ros | ||
- depthimage-to-laserscan | ||
- depthimage-to-pointcloud2 | ||
- dummy-map-server | ||
- dummy-robot-bringup | ||
- dummy-sensors | ||
- image-tools | ||
- intra-process-demo | ||
- joy | ||
- launch-testing | ||
- map-server | ||
- pcl-conversions | ||
- pendulum-control | ||
- robot-state-publisher | ||
- rosidl-default-generators | ||
- rviz2 | ||
- rviz-default-plugins | ||
- teleop-twist-joy | ||
- teleop-twist-keyboard | ||
@(ros2distro_name)-ros1-bridge: | ||
base_image: osrf/@(user_name):@(ros2distro_name)-full | ||
maintainer_name: @(maintainer_name) | ||
template_name: docker_images/create_ros2_image.Dockerfile.em | ||
entrypoint_name: docker_images/ros1_bridge_entrypoint.sh | ||
template_packages: | ||
- docker_templates | ||
ros2_packages: | ||
- ros1-bridge | ||
- turtlebot2* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
%YAML 1.1 | ||
# ROS2 Dockerfile database | ||
--- | ||
platform: | ||
os_name: ubuntu | ||
os_code_name: bionic | ||
rosdistro_name: melodic | ||
ros2distro_name: bouncy | ||
user_name: ros2 | ||
maintainer_name: | ||
arch: amd64 | ||
type: distribution | ||
version: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.