-
Notifications
You must be signed in to change notification settings - Fork 5
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
Add a basic README and stop publishing to Docker Hub #66
Open
emersonknapp
wants to merge
1
commit into
main
Choose a base branch
from
emersonknapp/update-readme
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
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 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 |
---|---|---|
@@ -1,3 +1,40 @@ | ||
# setup-ros-docker | ||
|
||
[![Build Docker image](https://github.com/ros-tooling/setup-ros-docker/workflows/Build%20Docker%20image/badge.svg)](https://github.com/ros-tooling/setup-ros-docker/actions?query=workflow%3A%22Build+Docker+image%22) | ||
|
||
:warning: **IMPORTANT NOTE** : These images are no longer published to [Docker Hub](https://hub.docker.com/r/rostooling/setup-ros-docker) and are now only being pushed to [GHCR](https://github.com/orgs/ros-tooling/packages?repo_name=setup-ros-docker) | ||
|
||
This repository creates base docker images for ROS development and CI workflows. | ||
The purpose of these images is to provide a ready-to-use base development environment for building ROS projects. | ||
|
||
The types of images created are: | ||
* OS Base: has ROS APT repositories setup, and installed development tools to build ROS projects from source. Installs _no_ ROS packages | ||
* [`ros-core`](https://index.ros.org/p/ros_core/github-ros2-variants/): Built on OS Base, contains the `ros-core` variant preinstalled | ||
* [`ros-base`](https://index.ros.org/p/ros_base/github-ros2-variants/): Built on OS Base, contains the `ros-base` variant preinstalled | ||
* [`desktop`](https://index.ros.org/p/desktop/github-ros2-variants/): Built on OS Base, contains the `desktop` variant preinstalled | ||
|
||
The tagging structure is `setup-ros-docker/{OS-VERSION}[-{ROS-DISTRO}-{ROS-VARIANT}]` | ||
|
||
So for example: | ||
* ghcr.io/ros-tooling/setup-ros-docker/ubuntu-jammy | ||
* ghcr.io/ros-tooling/setup-ros-docker/ubuntu-jammy-ros-humble-ros-base | ||
* ghcr.io/ros-tooling/setup-ros-docker/ubuntu-focal-ros-noetic-ros-desktop | ||
|
||
While this repository does provide those ROS variant-preinstalled images, its most useful output is the base OS images which are recommended for CI usage to allow for checking proper dependency specification and minimal-as-possible resulting images. | ||
|
||
Note parallel work that provides similar but different environment. | ||
https://github.com/osrf/docker_images also provides docker images with ROS variants already installed, but no "base development setup" images. | ||
|
||
|
||
## Building ARM images | ||
|
||
This repository does not yet provide ARM images for consumption, but it is perfectly easy to build them yourself for use. | ||
|
||
``` | ||
docker build . \ | ||
--platform=linux/arm64 \ | ||
--build-arg BASE_IMAGE=ubuntu:jammy \ | ||
--build-arg VCS_REF=$(git rev-parse HEAD) \ | ||
--build-arg ROS_DISTRO=none \ | ||
-t ros-tooling/setup-ros-docker/ubuntu-jammy | ||
``` |
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.
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.
We have
BASE_IMAGE_NAME
andBASE_IMAGE_TAG
instead ofBASE_IMAGE
now:setup-ros-docker/Dockerfile
Lines 12 to 18 in 4397556