-
Notifications
You must be signed in to change notification settings - Fork 183
Added noetic dockerfiles for ubuntu focal #394
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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=ros:noetic-ros-core-focal ros-core/. | ||
| @docker build --tag=ros:noetic-ros-base-focal ros-base/. | ||
| @docker build --tag=ros:noetic-robot-focal robot/. | ||
| @docker build --tag=ros:noetic-perception-focal perception/. | ||
|
|
||
| pull: | ||
| @docker pull ros:noetic-ros-core-focal | ||
| @docker pull ros:noetic-ros-base-focal | ||
| @docker pull ros:noetic-robot-focal | ||
| @docker pull ros:noetic-perception-focal | ||
|
|
||
| clean: | ||
| @docker rmi -f ros:noetic-ros-core-focal | ||
| @docker rmi -f ros:noetic-ros-base-focal | ||
| @docker rmi -f ros:noetic-robot-focal | ||
| @docker rmi -f ros:noetic-perception-focal |
This file contains hidden or 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,37 @@ | ||
| %YAML 1.1 | ||
| # ROS Dockerfile database | ||
| --- | ||
| images: | ||
| ros-core: | ||
| base_image: @(os_name):@(os_code_name) | ||
| maintainer_name: @(maintainer_name) | ||
| template_name: docker_images/create_ros_core_image.Dockerfile.em | ||
| entrypoint_name: docker_images/ros_entrypoint.sh | ||
| template_packages: | ||
| - docker_templates | ||
| ros_packages: | ||
| - ros-core | ||
| ros-base: | ||
| base_image: @(user_name):@(rosdistro_name)-ros-core-@(os_code_name) | ||
| maintainer_name: @(maintainer_name) | ||
| template_name: docker_images/create_ros_image.Dockerfile.em | ||
| template_packages: | ||
| - docker_templates | ||
| ros_packages: | ||
| - ros-base | ||
| robot: | ||
| base_image: @(user_name):@(rosdistro_name)-ros-base-@(os_code_name) | ||
| maintainer_name: @(maintainer_name) | ||
| template_name: docker_images/create_ros_image.Dockerfile.em | ||
| template_packages: | ||
| - docker_templates | ||
| ros_packages: | ||
| - robot | ||
| perception: | ||
| base_image: @(user_name):@(rosdistro_name)-ros-base-@(os_code_name) | ||
| maintainer_name: @(maintainer_name) | ||
| template_name: docker_images/create_ros_image.Dockerfile.em | ||
| template_packages: | ||
| - docker_templates | ||
| ros_packages: | ||
| - perception |
This file contains hidden or 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,8 @@ | ||
| # This is an auto generated Dockerfile for ros:perception | ||
| # generated from docker_images/create_ros_image.Dockerfile.em | ||
| FROM ros:noetic-ros-base-focal | ||
|
|
||
| # install ros packages | ||
| RUN apt-get update && apt-get install -y \ | ||
| ros-noetic-perception \ | ||
| && rm -rf /var/lib/apt/lists/* |
This file contains hidden or 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 @@ | ||
| %YAML 1.1 | ||
| # ROS Dockerfile database | ||
| --- | ||
| platform: | ||
| os_name: ubuntu | ||
| os_code_name: focal | ||
| rosdistro_name: noetic | ||
| user_name: ros | ||
| maintainer_name: | ||
| arch: amd64 | ||
| type: distribution | ||
| version: | ||
| release: ros | ||
| ros_version: 1 |
This file contains hidden or 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,8 @@ | ||
| # This is an auto generated Dockerfile for ros:robot | ||
| # generated from docker_images/create_ros_image.Dockerfile.em | ||
| FROM ros:noetic-ros-base-focal | ||
|
|
||
| # install ros packages | ||
| RUN apt-get update && apt-get install -y \ | ||
| ros-focal-robot \ | ||
| && rm -rf /var/lib/apt/lists/* | ||
This file contains hidden or 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,8 @@ | ||
| # This is an auto generated Dockerfile for ros:ros-base | ||
| # generated from docker_images/create_ros_image.Dockerfile.em | ||
| FROM ros:noetic-ros-core-focal | ||
|
|
||
| # install ros packages | ||
| RUN apt-get update && apt-get install -y \ | ||
| ros-noetic-ros-base \ | ||
| && rm -rf /var/lib/apt/lists/* |
This file contains hidden or 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 ros:ros-core | ||
| # generated from docker_images/create_ros_core_image.Dockerfile.em | ||
| FROM ubuntu:focal | ||
|
|
||
| # setup timezone | ||
| 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 \ | ||
| && rm -rf /var/lib/apt/lists/* | ||
|
|
||
| # setup keys | ||
| RUN apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys C1CF6E31E6BADE8868B172B4F42ED6FBAB17C654 | ||
|
|
||
| # setup sources.list | ||
| RUN echo "deb http://repositories.ros.org/ubuntu/testing focal main" > /etc/apt/sources.list.d/ros1-latest.list | ||
| RUN echo "deb http://packages.ros.org/ros/ubuntu bionic main" > /etc/apt/sources.list.d/ros1-latest.list | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
|
||
|
|
||
| # install bootstrap tools | ||
| RUN apt-get update && apt-get install --no-install-recommends -y \ | ||
| python3-rosdep \ | ||
| python3-rosinstall \ | ||
| python3-vcstools \ | ||
| && rm -rf /var/lib/apt/lists/* | ||
|
|
||
| # setup environment | ||
| ENV LANG C.UTF-8 | ||
| ENV LC_ALL C.UTF-8 | ||
|
|
||
| ENV ROS_DISTRO noetic | ||
| # bootstrap rosdep | ||
| RUN rosdep init && \ | ||
| rosdep update --rosdistro $ROS_DISTRO | ||
|
|
||
| # install ros packages | ||
| RUN apt-get update && apt-get install -y \ | ||
| ros-noetic-ros-core \ | ||
| && rm -rf /var/lib/apt/lists/* | ||
|
|
||
| # setup entrypoint | ||
| COPY ./ros_entrypoint.sh / | ||
|
|
||
| ENTRYPOINT ["/ros_entrypoint.sh"] | ||
| CMD ["bash"] | ||
This file contains hidden or 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 ros environment | ||
| source "/opt/ros/$ROS_DISTRO/setup.bash" | ||
| exec "$@" |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I believe this should be
ros-noetic-robot