Commit 05ffad7 1 parent 73918ab commit 05ffad7 Copy full SHA for 05ffad7
File tree 1 file changed +3
-2
lines changed
1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,6 @@ COPY . /root/ros2_ws/src
9
9
# Install dependencies
10
10
RUN apt-get update
11
11
RUN apt-get -y --quiet --no-install-recommends install python3-pip
12
- RUN rosdep update --include-eol-distros && rosdep install --from-paths src --ignore-src -r -y
13
12
RUN if [ "$ROS_DISTRO" = "jazzy" ] || [ "$ROS_DISTRO" = "rolling" ]; then \
14
13
pip3 install -r src/requirements.txt --break-system-packages; \
15
14
else \
@@ -20,6 +19,8 @@ WORKDIR /root/ros2_ws/src
20
19
RUN git clone https://github.com/mgonzs13/audio_common.git
21
20
22
21
WORKDIR /root/ros2_ws
22
+ RUN source /opt/ros/${ROS_DISTRO}/setup.bash
23
+ RUN rosdep update --include-eol-distros && rosdep install --from-paths src --ignore-src -r -y
23
24
RUN rosdep install --from-paths src --ignore-src -r -y
24
25
25
26
# Install CUDA nvcc
@@ -35,7 +36,7 @@ RUN if [ "$USE_CUDA" = "1" ]; then \
35
36
echo "export LD_LIBRARY_PATH=/usr/local/cuda/lib64${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}" >> ~/.bashrc; \
36
37
fi
37
38
38
- # Colcon the ws
39
+ # Build the ws with colcon
39
40
FROM deps AS builder
40
41
ARG CMAKE_BUILD_TYPE=Release
41
42
You can’t perform that action at this time.
0 commit comments