Skip to content
This repository was archived by the owner on Apr 8, 2025. It is now read-only.

Commit ae69f83

Browse files
Add pal_statistics to image (#9)
1 parent 2452045 commit ae69f83

File tree

4 files changed

+16
-8
lines changed

4 files changed

+16
-8
lines changed

Dockerfile.rhel8

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ RUN colcon mixin add default \
3131
https://raw.githubusercontent.com/colcon/colcon-metadata-repository/master/index.yaml && \
3232
colcon metadata update
3333

34-
# we have to compile generate_parameter_library from source
35-
ENV ROS2_WS /opt/ros2_ws
34+
# build generate_parameter_library and other deps from source
35+
ENV ROS2_WS=/opt/ros2_ws
3636
RUN mkdir -p $ROS2_WS/src
3737
WORKDIR $ROS2_WS
3838
ADD ros-controls.rhel8.repos .
@@ -43,7 +43,7 @@ RUN vcs import src < ros-controls.rhel8.repos && \
4343
colcon build \
4444
--mixin release build-testing-off \
4545
--cmake-args --no-warn-unused-cli \
46-
--packages-up-to generate_parameter_library && \
46+
--packages-up-to generate_parameter_library pal_statistics && \
4747
rm -rf log src build
4848

4949
# add default.yaml to the image

Dockerfile.rhel9

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,8 @@ RUN colcon mixin add default \
5959
https://raw.githubusercontent.com/colcon/colcon-metadata-repository/master/index.yaml && \
6060
colcon metadata update
6161

62-
# build generate_parameter_library from source
63-
ENV ROS2_WS /opt/ros2_ws
62+
# build generate_parameter_library and other deps from source
63+
ENV ROS2_WS=/opt/ros2_ws
6464
RUN mkdir -p $ROS2_WS/src
6565
WORKDIR $ROS2_WS
6666
ADD ros-controls.rhel9.repos .
@@ -72,7 +72,7 @@ RUN vcs import src < ros-controls.rhel9.repos && \
7272
colcon build \
7373
--mixin release build-testing-off \
7474
--cmake-args --no-warn-unused-cli \
75-
--packages-up-to generate_parameter_library && \
75+
--packages-up-to generate_parameter_library pal_statistics && \
7676
rm -rf log src build
7777

7878
# add default.yaml to the image

ros-controls.rhel8.repos

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,8 @@ repositories:
1010
cpp_polyfills:
1111
type: git
1212
url: https://github.com/PickNikRobotics/cpp_polyfills.git
13-
version: main
13+
version: main
14+
pal_statistics:
15+
type: git
16+
url: https://github.com/pal-robotics/pal_statistics.git
17+
version: humble-devel

ros-controls.rhel9.repos

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,8 @@ repositories:
66
generate_parameter_library:
77
type: git
88
url: https://github.com/PickNikRobotics/generate_parameter_library.git
9-
version: main
9+
version: main
10+
pal_statistics:
11+
type: git
12+
url: https://github.com/pal-robotics/pal_statistics.git
13+
version: humble-devel

0 commit comments

Comments
 (0)