-
Notifications
You must be signed in to change notification settings - Fork 187
[ROS] Crystal #206
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
Merged
Merged
[ROS] Crystal #206
Changes from 7 commits
Commits
Show all changes
35 commits
Select commit
Hold shift + click to select a range
a2a3be4
Template over os_code_name to facilitate multi os
ruffsl 0bf8042
Add support for arm64v8
ruffsl 70c14bd
Update manifest for arm64v8
ruffsl 14af668
Enable version pinning
ruffsl a78adf2
Add hooks
ruffsl e7685ee
Update manifest
ruffsl a1ca2a9
Add preliminary files for ros2 crystal
ruffsl 4d7a97b
Update README on ROS2 links
ruffsl 2d46186
Downplay SROS1 images to bolster SROS2 migration
ruffsl 29cd64a
Update EOL date for Crystal
ruffsl 610d353
Update template to include bootstrap tools
ruffsl 68f99cf
Update using cleaned template and versions
ruffsl 67a754e
Update manefest
ruffsl 1e3e24d
Update ros2 repo url in dockerfile
ruffsl b551a7e
Update manifest
ruffsl df63960
Remove desktop and bridge image from manifest
ruffsl 271eb1c
Using ros as repo name for docker images
ruffsl fd8d22d
Update dockerfiles
ruffsl 2e04cb4
Update manifest
ruffsl aa4f59e
Update master template to use same entrypoint name
ruffsl c5a4ec1
Update Dockerfiles to use same entrypoint name
ruffsl a18c67b
Update manifest
ruffsl b6291e8
Merge versions into offical ros repo
ruffsl 68305a0
Move ros2 files into common ros difrecotry
ruffsl eaca344
Update comment in template
ruffsl 66b46b1
Merge ros2 config into common ros directory
ruffsl a59739f
Update desktop and ros1 bridge images
ruffsl aea6878
Rename ros1 bridge entrypoint name for consistency
ruffsl ad31efa
Update common manefest to include ros2 images
ruffsl e747935
Remove remaining file from old ros2 folder
ruffsl 8146855
Update travis CI for ros2 merge
ruffsl bb07e11
Update makefiles and template
ruffsl 9619e8b
Fix Dockerfiles to build from tags including os_code_name
ruffsl d5241ac
Update manifest
ruffsl 56c98f7
Restructure ros2 source templates
ruffsl 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
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 |
|---|---|---|
|
|
@@ -10,4 +10,4 @@ platform: | |
| maintainer_name: | ||
| arch: amd64 | ||
| type: distribution | ||
| version: false | ||
| version: | ||
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 @@ | ||
| #!/bin/bash | ||
| # http://windsock.io/automated-docker-image-builds-with-multiple-tags/ | ||
|
|
||
| set -e | ||
|
|
||
| # Parse image name for repo name | ||
| tagStart=$(expr index "$IMAGE_NAME" :) | ||
| repoName=${IMAGE_NAME:0:tagStart-1} | ||
|
|
||
| # Tag and push image for each additional tag | ||
| for tag in @tags; do | ||
| docker tag $IMAGE_NAME ${repoName}:${tag} | ||
| docker push ${repoName}:${tag} | ||
| done |
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
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
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 @@ | ||
| #!/bin/bash | ||
| # http://windsock.io/automated-docker-image-builds-with-multiple-tags/ | ||
|
|
||
| set -e | ||
|
|
||
| # Parse image name for repo name | ||
| tagStart=$(expr index "$IMAGE_NAME" :) | ||
| repoName=${IMAGE_NAME:0:tagStart-1} | ||
|
|
||
| # Tag and push image for each additional tag | ||
| for tag in ardent-desktop; do | ||
| docker tag $IMAGE_NAME ${repoName}:${tag} | ||
| docker push ${repoName}:${tag} | ||
| done |
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 |
|---|---|---|
|
|
@@ -10,4 +10,4 @@ platform: | |
| maintainer_name: | ||
| arch: amd64 | ||
| type: distribution | ||
| version: false | ||
| version: | ||
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
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
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
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 @@ | ||
| #!/bin/bash | ||
| # http://windsock.io/automated-docker-image-builds-with-multiple-tags/ | ||
|
|
||
| set -e | ||
|
|
||
| # Parse image name for repo name | ||
| tagStart=$(expr index "$IMAGE_NAME" :) | ||
| repoName=${IMAGE_NAME:0:tagStart-1} | ||
|
|
||
| # Tag and push image for each additional tag | ||
| for tag in ardent-ros1-bridge; do | ||
| docker tag $IMAGE_NAME ${repoName}:${tag} | ||
| docker push ${repoName}:${tag} | ||
| done |
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
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
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 @@ | ||
| #!/bin/bash | ||
| # http://windsock.io/automated-docker-image-builds-with-multiple-tags/ | ||
|
|
||
| set -e | ||
|
|
||
| # Parse image name for repo name | ||
| tagStart=$(expr index "$IMAGE_NAME" :) | ||
| repoName=${IMAGE_NAME:0:tagStart-1} | ||
|
|
||
| # Tag and push image for each additional tag | ||
| for tag in bouncy-desktop; do | ||
| docker tag $IMAGE_NAME ${repoName}:${tag} | ||
| docker push ${repoName}:${tag} | ||
| done |
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 |
|---|---|---|
|
|
@@ -10,4 +10,4 @@ platform: | |
| maintainer_name: | ||
| arch: amd64 | ||
| type: distribution | ||
| version: false | ||
| version: | ||
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
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
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
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 @@ | ||
| #!/bin/bash | ||
| # http://windsock.io/automated-docker-image-builds-with-multiple-tags/ | ||
|
|
||
| set -e | ||
|
|
||
| # Parse image name for repo name | ||
| tagStart=$(expr index "$IMAGE_NAME" :) | ||
| repoName=${IMAGE_NAME:0:tagStart-1} | ||
|
|
||
| # Tag and push image for each additional tag | ||
| for tag in bouncy-ros1-bridge; do | ||
| docker tag $IMAGE_NAME ${repoName}:${tag} | ||
| docker push ${repoName}:${tag} | ||
| done |
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=osrf/ros2:crystal-ros-core-bionic ros-core/. | ||
| @docker build --tag=osrf/ros2:crystal-ros-base-bionic ros-base/. | ||
| @docker build --tag=osrf/ros2:crystal-desktop-bionic desktop/. | ||
| @docker build --tag=osrf/ros2:crystal-ros1-bridge-bionic ros1-bridge/. | ||
|
|
||
| pull: | ||
| @docker pull osrf/ros2:crystal-ros-core-bionic | ||
| @docker pull osrf/ros2:crystal-ros-base-bionic | ||
| @docker pull osrf/ros2:crystal-desktop-bionic | ||
| @docker pull osrf/ros2:crystal-ros1-bridge-bionic | ||
|
|
||
| clean: | ||
| @docker rmi -f osrf/ros2:crystal-ros-core-bionic | ||
| @docker rmi -f osrf/ros2:crystal-ros-base-bionic | ||
| @docker rmi -f osrf/ros2:crystal-desktop-bionic | ||
| @docker rmi -f osrf/ros2:crystal-ros1-bridge-bionic |
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 ros2:desktop | ||
| # generated from docker_images/create_ros2_image.Dockerfile.em | ||
| FROM osrf/ros2:crystal-ros-base | ||
| # install ros2 packages | ||
| RUN apt-get update && apt-get install -y \ | ||
| ros-crystal-desktop \ | ||
| && 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 @@ | ||
| #!/bin/bash | ||
| # http://windsock.io/automated-docker-image-builds-with-multiple-tags/ | ||
|
|
||
| set -e | ||
|
|
||
| # Parse image name for repo name | ||
| tagStart=$(expr index "$IMAGE_NAME" :) | ||
| repoName=${IMAGE_NAME:0:tagStart-1} | ||
|
|
||
| # Tag and push image for each additional tag | ||
| for tag in crystal-desktop; do | ||
| docker tag $IMAGE_NAME ${repoName}:${tag} | ||
| docker push ${repoName}:${tag} | ||
| done |
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,41 @@ | ||
| %YAML 1.1 | ||
| # ROS2 Dockerfile database | ||
| --- | ||
| images: | ||
| ros-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 | ||
| pip3_install: | ||
| - argcomplete | ||
| template_packages: | ||
| - docker_templates | ||
| ros2_packages: | ||
| - ros-core | ||
| ros-base: | ||
| base_image: osrf/@(user_name):@(ros2distro_name)-ros-core | ||
| maintainer_name: @(maintainer_name) | ||
| template_name: docker_images/create_ros2_image.Dockerfile.em | ||
| template_packages: | ||
| - docker_templates | ||
| ros2_packages: | ||
| - ros-base | ||
| desktop: | ||
| base_image: osrf/@(user_name):@(ros2distro_name)-ros-base | ||
| maintainer_name: @(maintainer_name) | ||
| template_name: docker_images/create_ros2_image.Dockerfile.em | ||
| template_packages: | ||
| - docker_templates | ||
| ros2_packages: | ||
| - desktop | ||
| ros1-bridge: | ||
| base_image: osrf/@(user_name):@(ros2distro_name)-desktop | ||
| maintainer_name: @(maintainer_name) | ||
| template_name: docker_images/create_ros2_ros1_bridge_image.Dockerfile.em | ||
| entrypoint_name: docker_images/ros1_bridge_entrypoint.sh | ||
| template_packages: | ||
| - docker_templates | ||
| ros2_packages: | ||
| - ros1-bridge | ||
| - turtlebot2-demo |
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,13 @@ | ||
| %YAML 1.1 | ||
| # ROS2 Dockerfile database | ||
| --- | ||
| platform: | ||
| os_name: ubuntu | ||
| os_code_name: bionic | ||
| rosdistro_name: melodic | ||
| ros2distro_name: crystal | ||
| user_name: ros2 | ||
| maintainer_name: | ||
| arch: amd64 | ||
| type: distribution | ||
| version: |
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 ros2:ros-base | ||
| # generated from docker_images/create_ros2_image.Dockerfile.em | ||
| FROM osrf/ros2:crystal-ros-core | ||
| # install ros2 packages | ||
| RUN apt-get update && apt-get install -y \ | ||
| ros-crystal-ros-base \ | ||
| && rm -rf /var/lib/apt/lists/* | ||
|
|
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.