Skip to content

Commit 550e516

Browse files
authored
Merge pull request #295 from osrf/connext
Add ros2 nightly variant with added RMW vendors
2 parents 87e323a + fbffbd5 commit 550e516

File tree

3 files changed

+35
-1
lines changed

3 files changed

+35
-1
lines changed

ros2/nightly/Makefile

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,16 @@ help:
1010
@echo ""
1111

1212
build:
13-
@docker build --tag=ros2:nightly nightly/.
13+
@docker build --tag=ros2:nightly nightly/.
14+
@docker build --tag=ros2:nightly-rmw nightly-rmw/.
15+
@docker build --tag=ros2:nightly-rmw-nonfree nightly-rmw-nonfree/.
1416

1517
pull:
1618
@docker pull ros2:nightly
19+
@docker pull ros2:nightly-rmw
20+
@docker pull ros2:nightly-rmw-nonfree
1721

1822
clean:
1923
@docker rmi -f ros2:nightly
24+
@docker rmi -f ros2:nightly-rmw
25+
@docker rmi -f ros2:nightly-rmw-nonfree
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
FROM osrf/ros2:nightly-rmw
2+
3+
# install dependencies
4+
ENV RTI_NC_LICENSE_ACCEPTED=yes
5+
RUN . /opt/ros/$ROS_DISTRO/setup.sh \
6+
&& apt-get update \
7+
&& rosdep install -y \
8+
--from-paths /opt/ros/$ROS_DISTRO/share \
9+
--ignore-src \
10+
--skip-keys " \
11+
" \
12+
&& rm -rf /var/lib/apt/lists/*
13+
14+
# setup RTI Connext DDS
15+
ENV NDDSHOME="/opt/rti.com/rti_connext_dds-5.3.1"
16+
ENV PATH="$NDDSHOME/bin":$PATH
17+
ENV LD_LIBRARY_PATH="$NDDSHOME/lib/x64Linux3gcc5.4.0":$LD_LIBRARY_PATH
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
FROM osrf/ros2:nightly
2+
3+
# install dependencies
4+
RUN . /opt/ros/$ROS_DISTRO/setup.sh \
5+
&& apt-get update \
6+
&& rosdep install -y \
7+
--from-paths /opt/ros/$ROS_DISTRO/share \
8+
--ignore-src \
9+
--skip-keys " \
10+
rti-connext-dds-5.3.1" \
11+
&& rm -rf /var/lib/apt/lists/*

0 commit comments

Comments
 (0)