Skip to content

Commit

Permalink
Update the Docker base image for chatter example (#210)
Browse files Browse the repository at this point in the history
  • Loading branch information
mvukov authored Nov 7, 2023
1 parent 977b81b commit c124d69
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
5 changes: 3 additions & 2 deletions examples/WORKSPACE
Original file line number Diff line number Diff line change
Expand Up @@ -81,9 +81,10 @@ load(
"container_pull",
)

# The base docker image is defined in https://github.com/mvukov/bazel_deploy_base repo.
container_pull(
name = "ros_deploy_base",
digest = "sha256:54967c8f59e8607cd4a40c0d614b3391bf71112482f2e344d93ff455f60b3723",
digest = "sha256:322c3900f36c4078f4a7831026bd1782c859d27f0a8fc909c9928e59bdd764bb",
registry = "docker.io",
repository = "mvukov/ros-deploy-base",
repository = "mvukov/bazel-deploy-base",
)
4 changes: 0 additions & 4 deletions examples/chatter/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,6 @@ To run the sample deployment in a Docker container, run
bazel run //chatter:chatter_image
```

The base docker image is defined in [this](https://github.com/mvukov/rules_ros/blob/main/docker/base/base.Dockerfile) Dockerfile.
The compressed size of this deployment
container (compiled with `--config=opt`) is less than 50 MB (see [here](https://hub.docker.com/layers/mvukov/chatter/demo_ros2/images/sha256-c87e229e75ea5a8e2983f8e63b2357ec856edc2918bd9619a065e1b8449cf23f?context=repo)).

Alternatively, you can run nodes without the launch mechanism. In a terminal run

```sh
Expand Down

0 comments on commit c124d69

Please sign in to comment.