We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8d5d57e commit 50bf305Copy full SHA for 50bf305
Dockerfile
@@ -1,4 +1,5 @@
1
-FROM ros:humble as base
+ARG ROS_DISTRO=humble
2
+FROM ros:$ROS_DISTRO as base
3
ARG DEBIAN_FRONTEND=noninteractive
4
5
# Install dependencies
docs/building.md
@@ -56,7 +56,8 @@ Build the Docker image with
56
57
```shell
58
# Make sure to run this in the workspace directory
59
-docker build -t ros2_rust_dev - < src/ros2_rust/Dockerfile
+# ROS_DISTRO can be humble|iron|rolling
60
+docker build -f src/ros2_rust/Dockerfile --build-arg "ROS_DISTRO=humble" -t ros2_rust_dev
61
```
62
63
and then run it with
0 commit comments