We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 047f483 commit 024e116Copy full SHA for 024e116
Dockerfile
@@ -1,4 +1,5 @@
1
-FROM ros:foxy as base
+ARG ROS_DISTRO=foxy
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 foxy|hunble|rolling
60
+docker build -f src/ros2_rust/Dockerfile --build-arg "ROS_DISTRO=foxy" -t ros2_rust_dev
61
```
62
63
and then run it with
0 commit comments